home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / ARCHIVE / JAM110SW.ZIP;1 / JAM.DOC < prev    next >
Encoding:
Text File  |  1994-06-12  |  180.8 KB  |  4,485 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                           mm
  8.  
  9.                        mmmmmmmmmmmmm   mmmmmmmmm   (tm)
  10.                           mm       mm  mm  mm  mm
  11.                  The      mm   mmmmmm  mm  mm  mm
  12.                           mm  mm   mm  mm  mm  mm
  13.                      mm   mm   mmmmm mmmm  mm   mmm
  14.                        mmm
  15.  
  16.  
  17.                  Real-Time Data Compression Utilities
  18.  
  19.                              Version 1.10
  20.  
  21.  
  22.                      for IBM/PC/XT/AT, PS/1, PS/2
  23.                             and compatibles
  24.  
  25.  
  26.  
  27.  
  28.  
  29.            ================================================
  30.                 Copyright (c) JAM Software, 1992-1994.
  31.                          All Rights Reserved.
  32.  
  33.  
  34. JAM 1.10  User's Guide                                           Page  1
  35. ------------------------------------------------------------------------
  36.  
  37. Copyright (c) JAM Software, 1992-1994.  All rights reserved.
  38.  
  39. Disclaimer
  40.  
  41. JAM Software disclaims all warranties as to this software or
  42. documentation, whether express or implied, including without limitation
  43. any implied warranties of merchantability, fitness for a particular
  44. purpose, functionality, data integrity or protection.
  45.  
  46. Trademarks
  47.  
  48. JAM and 'The JAM Real-Time Data Compression Utilities' are trademarks
  49. of JAM Software.
  50.  
  51. IBM/PC/XT/AT, PS/1, PS/2, PC-DOS and IBM-DOS are trademarks
  52. of International Business Machines Corp.
  53.  
  54. MS-DOS, Windows, Windows-NT are trademarks of Microsoft
  55. Corporation.
  56.  
  57. DR-DOS is a trademark of Digital Research Inc.
  58.  
  59. Novell DOS is a trademark of Novell, Inc.
  60.  
  61. Trademarks of other companies mentioned in this documentation appear
  62. for identification purposes only and are the property of their
  63. respective companies.
  64.  
  65.  
  66. JAM 1.10  User's Guide                                           Page  2
  67. ------------------------------------------------------------------------
  68.  
  69.                            Table of Contents
  70.                          =====================
  71.  
  72.     How to Use This Guide . . . . . . . . . . . . . . . . . . . . . .  4
  73.  
  74.     Chapter  1.  Introduction . . . . . . . . . . . . . . . . . . . .  7
  75.  
  76.         1.1. What is the JAM? . . . . . . . . . . . . . . . . . . . .  7
  77.  
  78.         1.2. Basic concepts of the JAM  . . . . . . . . . . . . . . .  9
  79.  
  80.     Chapter  2.  Getting Started With the JAM . . . . . . . . . . . . 11
  81.  
  82.         2.1. Before you begin . . . . . . . . . . . . . . . . . . . . 11
  83.  
  84.         2.2. Installing the JAM on your hard disk . . . . . . . . . . 12
  85.  
  86.         2.3. Creating JAM Archive File  . . . . . . . . . . . . . . . 13
  87.  
  88.         2.4. Installing the JAM device driver . . . . . . . . . . . . 14
  89.  
  90.     Chapter  3.  Using the JAM  . . . . . . . . . . . . . . . . . . . 15
  91.  
  92.         3.1. General  . . . . . . . . . . . . . . . . . . . . . . . . 15
  93.  
  94.         3.2. Viewing the contents of the JAM Drives . . . . . . . . . 16
  95.  
  96.         3.3. Extended JAM Drive statistics and utilization  . . . . . 18
  97.  
  98.         3.4. Optimizing JAM Drives  . . . . . . . . . . . . . . . . . 19
  99.  
  100.         3.5. UnDelete operation support . . . . . . . . . . . . . . . 20
  101.  
  102.     Chapter  4.  Command Reference  . . . . . . . . . . . . . . . . . 21
  103.  
  104.         4.1. The JCREATE utility  . . . . . . . . . . . . . . . . . . 21
  105.  
  106.         4.2. The JAM device driver  . . . . . . . . . . . . . . . . . 27
  107.  
  108.         4.3. The JMOUNT utility . . . . . . . . . . . . . . . . . . . 31
  109.  
  110.         4.4. The JDIR utility . . . . . . . . . . . . . . . . . . . . 40
  111.  
  112.         4.5. The JCHKDSK utility  . . . . . . . . . . . . . . . . . . 50
  113.  
  114.         4.6. The JMAX utility . . . . . . . . . . . . . . . . . . . . 63
  115.  
  116.     Chapter  5.  Guidelines for efficient use of the JAM Drives . . . 67
  117.  
  118.     Chapter  6.  F.A.Q. (Frequently Asked Questions)  . . . . . . . . 70
  119.  
  120.     Appendix A.  Glossary . . . . . . . . . . . . . . . . . . . . . . 73
  121.  
  122. JAM 1.10  User's Guide                                           Page  3
  123. ------------------------------------------------------------------------
  124.  
  125.     Appendix B.  JAM technical information  . . . . . . . . . . . . . 79
  126.  
  127.         B.1. JAM Drive Structure  . . . . . . . . . . . . . . . . . . 79
  128.  
  129.         B.2. JAM device driver  . . . . . . . . . . . . . . . . . . . 83
  130.  
  131.         B.3. JAM Application Interface  . . . . . . . . . . . . . . . 87
  132.  
  133.     I n d e x . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
  134.  
  135.  
  136.  
  137.  
  138. JAM 1.10  User's Guide                                           Page  4
  139. ------------------------------------------------------------------------
  140.  
  141.                          How to Use This Guide
  142.                       ===========================
  143.  
  144. This guide was designed for three different types of users:
  145.  
  146. Average     those who are typical, average computer users (including
  147.             beginners) who would like to know just enough about a
  148.             product to use its basic function properly
  149.  
  150. Advanced    those who have computer experience and who would like to
  151.             learn how to use the products advanced functions
  152.  
  153. Expert      those who consider themselves computer experts and who
  154.             would like to know everything about a software product
  155.  
  156. Most computer users belong to the Average category. Usually, they use
  157. a standard personal computer system equipped with one hard disk, a
  158. printer, and productivity software (such as a word-processor or a
  159. spreadsheet package).
  160.  
  161. The JAM in its basic and most common configuration was designed with
  162. the typical needs of the average user in mind. There is no need to read
  163. the entire manual to understand the principles of the product, to
  164. install it, or to use it almost immediately. The minimum you need to
  165. read to get started is Chapter 2 - Getting Started With the JAM.
  166.  
  167. An overview of the guide's contents is presented on the following pages.
  168.  
  169. JAM 1.10  User's Guide                                           Page  5
  170. ------------------------------------------------------------------------
  171.  
  172. Chapter 1 - Introduction
  173.  
  174.     In this chapter you will find a brief introduction to the features,
  175.     benefits, and basic concepts of the JAM package. No prior knowledge
  176.     or experience is required to understand this chapter, though the
  177.     user should have a basic understanding of DOS (either PC-DOS,
  178.     MS-DOS, DR-DOS, or Novell-DOS). For more information regarding the
  179.     DOS, refer to your Operating System User's Guide.
  180.  
  181.     Intended readers: All JAM users.
  182.  
  183. Chapter 2 - Getting Started With the JAM
  184.  
  185.     By following a few simple installation instructions as presented
  186.     in this chapter, you will be able to create your first JAM drive
  187.     and have it ready for use in less than five minutes.
  188.  
  189.     Intended readers: All JAM users.
  190.  
  191. Chapter 3 - Using the JAM
  192.  
  193.     This chapter summarizes all that you need to know for the
  194.     day-to-day operation of the JAM. The chapter informs you how to
  195.     obtain detailed information about the contents of the JAM drive,
  196.     and how to verify and optimize it.
  197.  
  198.     Intended readers: All JAM users.
  199.  
  200. Chapter 4 - Command Reference
  201.  
  202.     This chapter consists of detailed information about components of
  203.     the JAM package. For each program you will find full command-line
  204.     syntax, notes regarding its advanced features, and finally --
  205.     listing and explanation of all error messages.
  206.  
  207.     Intended readers: Advanced and Expert Users.
  208.  
  209. Chapter 5 - Guidelines for efficient use of the JAM Drives
  210.  
  211.     In this chapter you will find practical guidelines and useful hints
  212.     for efficient use of the JAM drives with your application software.
  213.  
  214.     Intended readers: Advanced and Expert Users.
  215.  
  216. JAM 1.10  User's Guide                                           Page  6
  217. ------------------------------------------------------------------------
  218.  
  219. Chapter 6 - F.A.Q. (Frequently Asked Questions)
  220.  
  221.     This chapter consists of some frequently asked questions concerning
  222.     the JAM package and the answers.
  223.  
  224.     Intended readers: All JAM users.
  225.  
  226. Appendix A - Glossary
  227.  
  228.     This appendix defines many of the key terms used throughout the
  229.     manual and outlines the principles and differences between the
  230.     various types of disk drives, and file organization under DOS and
  231.     JAM. It is highly recommended even for average users to read this
  232.     appendix and become more familiar with these principles and terms.
  233.     After reading this section, you will have a better understanding
  234.     of what the software does and how to use it more effectively.
  235.  
  236.     Intended readers: All JAM users.
  237.  
  238. Appendix B - The JAM technical information
  239.  
  240.     This appendix provides an explanation about some technical aspects
  241.     of the JAM. While mainly general information is supplied, several
  242.     hints are included that may also help the more advanced users in
  243.     non-standard activities (e.g. use of external utility programs with
  244.     the JAM drives, etc.).
  245.  
  246.     Intended readers: Expert Users.
  247.  
  248.  
  249. JAM 1.10  User's Guide                                           Page  7
  250. ------------------------------------------------------------------------
  251.  
  252.                        Chapter  1.  Introduction
  253.                      =============================
  254.  
  255.                          1.1. What is the JAM?
  256.  
  257. JAM is a transparent hard disk compressor, which enlarges your disk
  258. space. With the JAM you will forget about annoying messages like
  259. 'Insufficient disk space...' with no need to purchase a new hard disk.
  260.  
  261.                              JAM includes:
  262.  
  263.   *  a fast and powerful disk driver, which 'squeezes' your data before
  264.      writing it to disk and extracts them while reading
  265.  
  266.   *  a set of utilities (including the troubleshooting one) making your
  267.      work with the compressed disk pleasant and safe
  268.  
  269.                            Why use the JAM?
  270.  
  271. You will like the JAM because it provides:
  272.  
  273.   *  a high speed of data compression and extraction, even higher than
  274.      that your hard disk has now.  You don't have to sacrifice the
  275.      performance of your computer to the new disk size!
  276.  
  277.   *  an approximately 2.5 (two and half) - time (!) increase of your
  278.      disk space. You can even enhance this ratio, having optimized your
  279.      compressed disk using the JMAX utility
  280.  
  281.   *  a minimal RAM space required for the JAM-driver (24K or 32K bytes)
  282.  
  283.   *  a possibility to load the JAM-driver into high memory
  284.  
  285.   *  a full usage of the resources of the Intel 80386/486 and Pentium
  286.      processors, working fast enough even on the Intel 80186
  287.  
  288.   *  a full compatibility with the software you use, such as Norton
  289.      Utilities, PCTOOLS, DOS-based LANs, etc. You should not keep in
  290.      mind that the JAM is working on your computer
  291.  
  292.   *  a set of the JAM - specific disk utilities, including disk
  293.      optimizer JMAX, the disk information program JDIR, and a 'doctor'
  294.      of your compressed disk JCHKDSK
  295.  
  296.   *  and many other advantages ...
  297.  
  298. JAM 1.10  User's Guide                                           Page  8
  299. ------------------------------------------------------------------------
  300.  
  301.                            Speed of the JAM
  302.  
  303. As a rule, the real-time disk compressors impair considerably the
  304. overall computer performance. But the JAM doesn't! It uses an effective
  305. algorithm of compression and extraction, which allows you to enlarge
  306. your disk space without any major slowdown of your system. The built-in
  307. reliable cache system provides high performance and full safety for
  308. your data. As a result, the write speed for the JAM-compressed disk is
  309. only slightly lower than the intrinsic hard disk speed, while the read
  310. speed is higher than that of your hard disk.
  311.  
  312.                          The compression ratio
  313.  
  314. The JAM incorporates several effective algorithms making it possible to
  315. achieve at least 2:1 compression. Having optimized your compressed disk
  316. by the JMAX utility, you can attain the ratio of 3.0 - 5.0.  The JDIR
  317. program will inform you on how well the data is compressed.
  318.  
  319.         The compatibility of the JAM with other disk utilities
  320.  
  321. The JAM is fully compatible with any well-known disk utility.  You can
  322. use any program from the Norton Utilities, Mace Utilities, PCTOOLS (to
  323. say nothing about standard DOS disk utilities) without any harm to the
  324. data on your compressed disk.  The JAM will not conflict even with the
  325. undelete features like the EraseProtect and UnErase.
  326.  
  327.              How much RAM space does the JAM-driver need?
  328.  
  329. Minimum! 32K bytes if you use the 8K clusters, or just 24K bytes if you
  330. prefer to use JAM drives with 4K cluster size. Moreover, you can load
  331. the JAM-driver into high memory, thus, free some room in conventional
  332. memory used by DOS.
  333.  
  334.                           System requirements
  335.  
  336.   *  an IBM PC/XT/AT, PS/1, PS/2, or compatible computer with an
  337.      Intel 80188/186+ or NEC V20/30 processor
  338.  
  339.   *  PC-DOS/MS-DOS 3.30 - 7.0, DR-DOS 6.0, or Novell DOS 7
  340.  
  341.   *  and - of course - a hard disk!
  342.  
  343.  
  344. JAM 1.10  User's Guide                                           Page  9
  345. ------------------------------------------------------------------------
  346.  
  347.                     1.2. Basic concepts of the JAM
  348.  
  349. Using the JAM, it is possible to compress either the whole disk or a
  350. part of it. In both cases the compressed information is presented as a
  351. file called the JAM Archive File. The file can have any name with the
  352. ".JAM" extension and attributes making it inaccessible to modification.
  353.  
  354. Only the JAM driver will work with JAM archives. The JAM driver is
  355. loaded while the system initialization and is presented as one or more
  356. Logical Drives, each of them being assigned to an Archive File
  357. represents data on it as a standard DOS Disk Drive.
  358.  
  359. The amount of space on existing hard disk (called the Host Drive) which
  360. is occupied by the JAM Archive is called the Physical Capacity of the
  361. JAM drive. Physical capacity is, on average, only 40% (1 : 2.5) of the
  362. JAM Drive size reported by DOS. This value (called Logical Capacity of
  363. the JAM drive) means the largest quantity of data which may be stored
  364. on a Logical Drive.
  365.  
  366.                                    ,---------------------------.
  367.                                    :     JAM Device Driver     :
  368.                                    :---------------------------:
  369.     DOS Hard Disk Drives:          :   JAM Logical Drives:     :
  370.    +----+ +----+     +----+        :  +----+ +----+ +----+     :
  371.    | C: | | D: | ... | I: |     /---->| J: | | K: | | L: | ... :
  372.    +----+ +----+     +----+     |  :  +----+ +----+ +----+     :
  373.      ||                         |  `----||---------------------'
  374.    __\/_____________________    |     __\/____________________
  375.   +------------------------.|   |    +-----------------------.|
  376.   | Hard Disk Drive C:     ||   |    | JAM Logical Drive J:  ||
  377.   |------------------------||   |    |-----------------------||
  378.   |...                     ||   |    | Drive size = Log.cap. ||
  379.   |datafile1               ||   |    |   = 2.5 * Phys.cap.   ||
  380.   |datafile2               ||   |    |-----------------------||
  381.   |...                     ||   |    |...                    ||
  382.   |DISK1.JAM  JAM Archive >-----/    |bigdatafile1           ||
  383.   |  (Compressed Data)     ||        |bigdatafile2           ||
  384.   |  File size = Phys.cap. ||        |...                    ||
  385.   |...                     ||        |...                    ||
  386.   +------------------------+         +-----------------------+
  387.  
  388. For example, if you create on your Host Drive (say, drive C:) a JAM
  389. Archive file (say, file DISK1.JAM) with a size of 40M bytes, you will
  390. have a JAM drive (say, drive J:) with a Logical Capacity of 100M bytes.
  391.  
  392. JAM 1.10  User's Guide                                           Page 10
  393. ------------------------------------------------------------------------
  394.  
  395. Nevertheless, the REAL amount of the data that can be stored on a JAM
  396. Drive (called Actual JAM Drive Capacity) directly relates to Average
  397. Compression Ratio achieved on it and Physical Capacity of the JAM
  398. Drive.
  399.  
  400. To provide you with the most likely amount of Actual Space Available on
  401. a JAM Drive at any given moment, the JAM driver reports to application
  402. programs its own Free Space estimate. This value (called Projected Free
  403. Space) is based on current Average Compression Ratio and both Physical
  404. and Logical Free Space available on a JAM Drive.
  405.  
  406. So, for example, the DOS DIR command being run on a JAM drive will
  407. always tell you Projected Free Space. To get extended JAM Drive
  408. statistics, including both Logical and Physical parameters you may
  409. use JCHKDSK utility.
  410.  
  411. Further detailed considerations regarding JAM Drives statistics and
  412. utilization are presented in Chapter 3. Using the JAM.
  413.  
  414.  
  415. JAM 1.10  User's Guide                                           Page 11
  416. ------------------------------------------------------------------------
  417.  
  418.                Chapter  2.  Getting Started With the JAM
  419.              =============================================
  420.  
  421.                          2.1. Before you begin
  422.  
  423. Before you begin the installation and use of the JAM, you must check
  424. that the following system requirements are met:
  425.  
  426.       *  an IBM PC/XT/AT, PS/1, PS/2, or compatible computer with an
  427.          Intel 80188/186+ or NEC V20/30 processor
  428.  
  429.       *  PC-DOS/MS-DOS 3.30 - 7.0, DR-DOS 6.0, or Novell DOS 7
  430.  
  431.       *  and at least one hard disk.
  432.  
  433. NOTE: It is highly recommended to run a Disk Defragmentation utility on
  434.       your hard disk system (e.g. Gazelle Systems' OPTune, Golden Bow's
  435.       VOPT, Central Point Software's COMPRESS, Norton Utilities'
  436.       SPEEDISK (MS-DOS 6.0+ DEFRAG) and alike) BEFORE installing the
  437.       JAM, as it may greatly improve system performance.
  438.  
  439.  
  440. JAM 1.10  User's Guide                                           Page 12
  441. ------------------------------------------------------------------------
  442.  
  443.                2.2. Installing the JAM on your hard disk
  444.  
  445. Your computer should be turned on and at the DOS prompt. If your
  446. computer normally runs a program automatically when you turn it on, you
  447. will need to exit from this program. You should have a prompt on your
  448. screen similar to:
  449.  
  450.     C:\>
  451.  
  452. Insert the diskette containing the original JAM distribution in your
  453. floppy drive, either A: or B:. Next, create a subdirectory for JAM on
  454. your hard drive. To do so type:
  455.  
  456.     C:\>MD JAM
  457.  
  458. Then change to this subdirectory.
  459.  
  460.     C:\>CD JAM
  461.     C:\JAM>
  462.  
  463. Now enter the name of the self-extracting archive file on your JAM
  464. disk, include the drive letter as part of the name.
  465.  
  466.     C:\JAM>A:JAM110
  467.  
  468. Note that the name of the self-extractor used throughout this manual
  469. (JAM110.EXE) may vary but will follow the pattern of JAM###.EXE where
  470. ### represents the version number of the software.
  471.  
  472. The contents of this file will now extract into the JAM subdirectory.
  473.  
  474. The A: and C: drives in the above command are only for example, and may
  475. be replaced with other drive letters as appropriate to your particular
  476. setup.
  477.  
  478. You should next modify your AUTOEXEC.BAT file. You can edit this file
  479. with any editor that can load and save DOS TEXT or plain ASCII files
  480. (For example, "edit" in DOS 5.0, Windows Write, or any word processor
  481. with a DOS TEXT editing ability).
  482.  
  483. If you have DOS 5.0 type:
  484.  
  485.     C:\>EDIT AUTOEXEC.BAT
  486.  
  487. Look for a line in the file that says something similar to:
  488.  
  489. PATH=C:\;C:\DOS;(etc...)
  490.  
  491. Go to the end of this line and add a semicolon if one is not already
  492. there, and the drive and path to the JAM that you just created. For
  493. example "...;C:\JAM"
  494.  
  495. JAM 1.10  User's Guide                                           Page 13
  496. ------------------------------------------------------------------------
  497.  
  498. The line will now look like this:
  499.  
  500.     PATH=C:\;C:\DOS;C:\JAM
  501.  
  502. You will most likely have additional items between the C:\DOS; and
  503. C:\JAM.
  504.  
  505. Save the file and exit. You will have to re-boot your computer so that
  506. the changes take effect.
  507.  
  508. After you reboot type "path" at the command line and press [ENTER].
  509. Your machine will show the path.  Make sure that the subdirectory you
  510. placed the JAM files in is shown in the path.
  511.  
  512.  
  513.                     2.3. Creating JAM Archive File
  514.  
  515. Now, you should find an appropriate Host Drive. This is the physical
  516. drive on which you will create the JAM Archive File (You may refer to
  517. Appendix A in this manual to get familiar with the JAM terminology).
  518.  
  519. Then look how much free space has your Host Drive (say, drive D:),
  520. using, for example the DOS's DIR command:
  521.  
  522.     C:\>DIR D:
  523.  
  524. and determine amount of it you want to compress (in an example below we
  525. will allocate 1000K bytes for the JAM Archive File).  Please note, that
  526. amount of space you can define as a JAM Archive should not be less than
  527. 72K bytes and not greater than 512M bytes.
  528.  
  529. Finally, you should assign the name for new JAM File to create (say,
  530. FIRST) and type:
  531.  
  532.     C:\>JCREATE D:FIRST /A /S=1000
  533.  
  534. When this program finishes work it gives a display similar to this:
  535.  
  536.     JCREATE 1.10  Copyright (c) JAM Software, 1992-1994. All rights reserved.
  537.  
  538.     JAM file: D:\FIRST.JAM
  539.  
  540.            512 bytes in boot sector
  541.     +     1536 bytes in JAM descriptor table
  542.     +      512 bytes in file allocation table(s)
  543.     +     8192 bytes in root directory
  544.     +  2531328 logical / 1012224 physical bytes available for files
  545.     ---------------------------------------------------------------
  546.        2542080 logical / 1022976 physical bytes total on archive
  547.             40.0% (2.5 / 1.0) anticipated compression ratio
  548.  
  549.  
  550. JAM 1.10  User's Guide                                           Page 14
  551. ------------------------------------------------------------------------
  552.  
  553. You may now verify that new JAM Archive is created. Type:
  554.  
  555.     C:\>JDIR D:FIRST /A /Q
  556.  
  557. at the DOS command prompt. After you press [ENTER] you should see a
  558. screen like:
  559.  
  560.      Volume in drive D: has no label
  561.      Directory of D:\
  562.  
  563.     FIRST JAM   1022976 04-01-94   8:00p
  564.             1 File(s)    1022976 bytes
  565.                          3956736 bytes free
  566.  
  567.  
  568.                  2.4. Installing the JAM device driver
  569.  
  570. Next, you should modify your CONFIG.SYS file. Here you also can
  571. edit this file with any text editor. If you have DOS 5.0 type:
  572.  
  573.     C:\>EDIT CONFIG.SYS
  574.  
  575. and insert two lines at the top of file:
  576.  
  577.     DEVICE=C:\JAM\JAM.SYS
  578.     DEVICE=C:\JAM\JMOUNT.COM D:\FIRST
  579.  
  580. Note, that the C:\JAM directory and D:\FIRST JAM Archive File name in
  581. the lines above are only for example, and may be replaced with other
  582. names as appropriate to your particular setup.
  583.  
  584. Save the file and exit. In order to start using the JAM Drive you have
  585. just created, you will have to re-boot your computer at this time.
  586.  
  587.  
  588.       YOUR FIRST JAM DRIVE IS READY FOR IMMEDIATE USE. GOOD LUCK!
  589.  
  590.  
  591. JAM 1.10  User's Guide                                           Page 15
  592. ------------------------------------------------------------------------
  593.  
  594.                       Chapter  3.  Using the JAM
  595.                     ===============================
  596.  
  597.                              3.1. General
  598.  
  599. From the user's point of view, the JAM drive may be regarded as a
  600. standard DOS drive operating like any other drive in the system. You
  601. may use any DOS command such as COPY, DEL, or DIR with it, use it as a
  602. file directory for your word-processing or spreadsheet software, store
  603. archive and historical information in it to save space, or even store
  604. program files (those with the .EXE or .COM extension) and run them from
  605. the JAM Logical Drive.
  606.  
  607. You may use your applications with the JAM drive without any
  608. alterations, just as with a standard drive. The JAM software operates
  609. behind the scenes in a completely transparent manner. As far as you
  610. are concerned, the information is stored and retrieved from the JAM
  611. drive as though it was a standard disk drive, without any external
  612. interventions, except for one significant difference: the information
  613. stored on the JAM drive takes up on average 40% of the space the same
  614. information would occupy on a standard DOS disk drive.
  615.  
  616.  
  617. JAM 1.10  User's Guide                                           Page 16
  618. ------------------------------------------------------------------------
  619.  
  620.               3.2. Viewing the contents of the JAM Drives
  621.  
  622. You may use the DOS DIR command to view the contents of the JAM Drives.
  623. However, in some cases, you may also need to know how well the files on
  624. the JAM drive are compressed (or in other words -- how much physical
  625. space they use).
  626.  
  627. To obtain accurate information regarding the JAM Drive contents and
  628. status (which cannot be obtained from DOS or any other external
  629. utility), you must use the JAM JDIR command.  The syntax of the JDIR
  630. (see Chapter 4 - Command Reference for details) is almost the same as
  631. DOS DIR command, except for /C switch -- allowing you to show the files'
  632. and average Compression Ratio on the JAM Drive.
  633.  
  634. For example, the command:
  635.  
  636.     JDIR J:\WINDOWS\*.DLL /C
  637.  
  638. will produce the screen like:
  639.  
  640.     JDIR 1.10  Copyright (C) JAM Software, 1992-1994. All rights reserved.
  641.  
  642.      Volume in drive J: is WINDOWS
  643.      Directory of J:\WINDOWS
  644.  
  645.     CARDS    DLL    148528 09-13-91   4:30p   26.64%
  646.     MGRLIB   DLL     29712 06-01-92   3:50p   43.75%
  647.     MORICONS DLL    118864 03-10-92   3:10a   29.17%
  648.     PBRUSH   DLL      6766 03-10-92   3:10a   62.50%
  649.     RECORDER DLL     10414 03-10-92   3:10a   46.88%
  650.     WEPUTIL  DLL     19200 09-13-91   4:30p   39.58%
  651.                           31.68% average compression ratio
  652.             6 File(s)     333484 bytes
  653.                          1238450 bytes free
  654.  
  655. The Compression Ratio is calculated based on the Logical and Physical
  656. space occupied by file (or by group of files):
  657.  
  658.                                     Physical Bytes Allocated
  659.         Compression Ratio = 100 * ----------------------------
  660.                                     Logical Bytes Allocated
  661.  
  662. (Refer to Appendix A in this manual to get familiar with DOS and JAM
  663. file organization).
  664.  
  665. JAM 1.10  User's Guide                                           Page 17
  666. ------------------------------------------------------------------------
  667.  
  668. Thus file MORICONS.DLL (on example above) on Logical level occupies 15
  669. 8K bytes' clusters (i.e. 15 * 8K = 120K = 116K(file size) + 4K(slack)),
  670. but its Physical (compressed) size is only:
  671.  
  672.         Compression Ratio * Logical Size      29.17 * 120K
  673.       ------------------------------------ = -------------- = 35K.
  674.                      100                          100
  675.  
  676. Note, that the JDIR calculates and reports summary information only for
  677. the files which were specified in the search criteria (in the example
  678. above we have used *.DLL file specification).
  679.  
  680. To determine the Overall Compression Ratio of a JAM Drive, type:
  681.  
  682.     JDIR J:\*.* /S
  683.  
  684. (switch /S makes files in all subdirectories included in the listing).
  685.  
  686.  
  687. JAM 1.10  User's Guide                                           Page 18
  688. ------------------------------------------------------------------------
  689.  
  690.           3.3. Extended JAM Drive statistics and utilization
  691.  
  692. The JCHKDSK utility program verifies the integrity of the JAM Drive,
  693. and provides you with statistical information regarding the overall
  694. disk usage, utilization, Compression Ratio, and the Logical, Physical
  695. and Projected Free Space currently available.
  696.  
  697. JCHKDSK displays a status report similar to the following example:
  698.  
  699. Volume in drive D: is WINDOWS
  700. Volume Serial Number is 11D1-223F
  701.  
  702.    JAM logical drive D:                 JAM file: C:\JAM\MNT\WINDOWS.JAM
  703.  
  704.  150142976 bytes total disk space        60057088 bytes total archive space
  705.      81920 bytes in 2 hidden files          59392 bytes in 2 hidden files
  706.    1654784 bytes in 202 directories       1654784 bytes in 202 directories
  707.  113655808 bytes in 2824 user files      53265920 bytes in 2824 user files
  708.   34750464 bytes available on disk        5078016 bytes free on archive
  709.  
  710.            47.65% average compression ratio (2.1:1)
  711.    7577600 bytes projected free space
  712.  
  713.     655360 bytes total memory
  714.     400592 bytes available memory
  715.  
  716.  
  717. The data on the left half of the screen shows the JAM Logical Drive
  718. usage, the data on the right side -- JAM Archive File information
  719. (Physical space usage).
  720.  
  721. The Projected Free Space is calculated based on the Physical Total
  722. Space, Logical and Physical Free Space reported.  The recalculation
  723. formulae is:
  724.  
  725.  Projected Free Space = Log.Free Space * Xi + Phys.Free Space * (1 - Xi),
  726.  
  727.                             Physical Free Space
  728. where:              Xi = --------------------------
  729.                             Physical Total Space
  730.  
  731. is the Physical Space Usage Ratio.
  732.  
  733. When archive is empty, Xi is equal 1 and Projected Free Space is equal
  734. to Logical Free Space. Otherwise, when archive is almost full, Xi comes
  735. to 0, and Projected Free Space will be near to Physical Free Space.
  736.  
  737. The JAM driver also calculates the Projected Free Space and uses it to
  738. replace the Logical Free Space value reported by DOS. Thus, almost all
  739. application programs (for example Windows File Manager, XTreeGold,
  740. Norton Commander, or standard DOS DIR command) will always display
  741. recalculated number of bytes available on JAM drives, providing you
  742. with the most likely amount of space you will use.
  743.  
  744.  
  745. JAM 1.10  User's Guide                                           Page 19
  746. ------------------------------------------------------------------------
  747.  
  748.                       3.4. Optimizing JAM Drives
  749.  
  750. Like for a standard DOS drive, extended reading and writing of a JAM
  751. compressed drive may cause diminished performance due to scattering of
  752. the data throughout the disk.
  753.  
  754. To eliminate this problem on a standard disk drive you may run a
  755. standard DISK DEFRAGMENTATION UTILITY (e.g Central Point Software's
  756. COMPRESS, Norton Utilities' SPEEDISK (MS-DOS 6.0+ DEFRAG) and alike).
  757. Although having run standard defragmentation utility on a JAM drive, you
  758. will probably NOT improve your system's performance (*).
  759.  
  760. To perform TRUE (and completely SAFE) optimization of the JAM
  761. compressed drive, you should run a JMAX utility, which comes with the
  762. JAM package. This utility provides several types of disk optimizations,
  763. including ReCompression, and Defragmentation of data on the JAM File.
  764.  
  765. ReCompress  - packs JAM compressed files tigther to give you up to
  766.               40% (!) more available space on your compressed drive.
  767.               In addition, this optimization can significantly increase
  768.               speed of the data extraction, and as a result, your disk
  769.               will work up to 10-20% faster (!).
  770.  
  771. Defragment  - places all data of the files in consecutive sectors on
  772.               the disk.
  773.  
  774. For example, to optimize JAM drive J, you would type the following at
  775. the command prompt:
  776.  
  777.     JMAX J:
  778.  
  779. To optimize the current drive, type the following command:
  780.  
  781.     JMAX
  782.  
  783. Note that JMAX utility is quite smart - it would not do its job for a
  784. second time. So, you can recompress your JAM drive on weekly or even
  785. daily basis, not worrying about long time it takes to execute - if you
  786. have changed only one file on your JAM disk, JMAX would recompress only
  787. this file.
  788. ----------
  789. (*) The point is that data organization on the JAM Archive File is NOT
  790. the same as on the JAM Logical Drive (see Appendix B. for details), and
  791. to write data on the JAM drive, JAM.SYS uses own (specific for variable-
  792. length blocks) allocation algorithm. In other words, when standard
  793. defragmenter calls the JAM driver to write some data to a certain
  794. location on the Logical Drive, JAM.SYS will compress and write it to the
  795. first appropriate block of currently available (unallocated) sectors on
  796. the Archive File. As a result, we will have a JAM Drive with well orga-
  797. nized logical structure, and highly fragmented data on physical level.
  798.  
  799. Moreover, when the JAM archive file is almost full, such defragmenters
  800. may actually DAMAGE the compressed data (most of them simply cannot
  801. handle device errors correctly -- they modify the FAT and directory
  802. information, even if file's data(clusters) have not been written).
  803.  
  804.  
  805. JAM 1.10  User's Guide                                           Page 20
  806. ------------------------------------------------------------------------
  807.  
  808.                     3.5. UnDelete operation support
  809.  
  810. The JAM package enables you to use utility programs (e.g. MS-DOS's
  811. (Central Point Software's) Undelete, Norton Utilities' Quick-Unerase,
  812. etc.) to perform UnDelete operations on erased files residing on JAM
  813. drives.
  814.  
  815. For each logical drive, the JAM driver maintains a special
  816. [DirectWrite] flag which is essential for proper UnDelete utilities
  817. operation (specifically, being set to ON it enables Direct Write
  818. operations, used by certain low-level disk programs, including UnDelete
  819. utility). By default, this flag is set to OFF, and this should be
  820. normal setting.  This flag should be set to ON before attempting to
  821. UnDelete files on the JAM drive, then it should be reset to OFF.
  822.  
  823. To show and modify current status of the [DirectWrite] flag for some
  824. specified JAM drive (say, drive J:), you should use the JMOUNT utility.
  825.  
  826. Before using the UnDelete utilities, issue the following command:
  827.  
  828.     JMOUNT J: /W+D
  829.  
  830. Now you can perform the UnDelete activities as desired. After these
  831. activities are completed, issue the following command:
  832.  
  833.     JMOUNT J: /W-D
  834.  
  835. Executing JMOUNT without any parameters will report the JAM drives list
  836. including current [DirectWrite] flag status.
  837.  
  838. Further detailed considerations regarding the JMOUNT utility, special
  839. UnDelete-compatible mode, and other JAM drive flags are presented in
  840. Section 4.3 "The JMOUNT Utility".
  841.  
  842.  
  843.  
  844. JAM 1.10  User's Guide                                           Page 21
  845. ------------------------------------------------------------------------
  846.  
  847.                     Chapter  4.  Command Reference
  848.                   ==================================
  849.  
  850. This chapter consists of summary information about the JAM device driver
  851. and the other JAM utilities. For each program, full command-line syntax,
  852. notes regarding some advanced features, listing and explanation of all
  853. error messages are provided.
  854.  
  855.  
  856.                        4.1. The JCREATE utility
  857.                      ----------------------------
  858.  
  859. Creates an empty JAM Archive file by using free space on an uncompres-
  860. sed drive. Being mounted as a JAM drive, Archive File will provide more
  861. storage capacity than the amount of space it uses.
  862.  
  863. Syntax
  864.  
  865.     JCREATE [drive:][\][path\]filename[.ext] [/A[:][attributes]]
  866.         [/S=size] [/R=ratio] [/C=clustsiz] [/F=fats] [/D=dirsiz]
  867.         [/V[label]]
  868. or
  869.     DEVICE=[drive2:][\][path2\]JCREATE.COM
  870.         [drive:][\][path\]filename[.ext] [/A[:][attributes]]
  871.         [/S=size] [/R=ratio] [/C=clustsiz] [/F=fats] [/D=dirsiz]
  872.         [/V[label]]
  873.  
  874. Parameters
  875.  
  876. [drive:][\][path\]
  877.     Full or relative path of the file to create. This is optional part
  878.     of the name of file to create. If you omit it, JCREATE uses current
  879.     DOS drive/directory to create file. In any case drive that contains
  880.     the space you want to use to create new drive SHOULD BE
  881.     UNCOMPRESSED.
  882.  
  883. filename[.ext]
  884.     Specifies the name of the JAM file to create. If you omit the
  885.     filename extension, JCREATE uses ".JAM".
  886.  
  887. [drive2:][\][path2\]
  888.     Specifies the location of the JCREATE.COM file.
  889.  
  890. JAM 1.10  User's Guide                                           Page 22
  891. ------------------------------------------------------------------------
  892.  
  893. Switches
  894.  
  895. /A[:][attributes]
  896.     Specifies attributes to be assigned to the new JAM Archive file.
  897.     If you omit this switch, JCREATE clears all file attributes except
  898.     for read-only flag. If you use this switch without specifying
  899.     attributes, JCREATE sets system, hidden and read-only flags to
  900.     prevent Archive File removing, modification and physical
  901.     reallocation by disk-optimizing programs.
  902.  
  903.     The following list describes each of the values you can use for
  904.     attributes. The colon (:) is optional. Use any combination of these
  905.     values, and do not separate the values with spaces.
  906.  
  907.     +H or H      Makes file hidden (unmovable during disk optimization)
  908.  
  909.     -H           Makes file visible
  910.  
  911.     +S or S      Makes a system file
  912.  
  913.     -S           Removes system flag
  914.  
  915.     +A or A      Make file ready for archiving (backup)
  916.  
  917.     -A           Prohibits file archiving
  918.  
  919.     +R or R      Makes file read-only
  920.  
  921.     -R           Makes file accessible for modifications
  922.  
  923. /S=size
  924.     Amount of space in K-bytes (72 <= size <= 524288) to allocate for
  925.     the JAM Archive File. If you omit this switch, JCREATE uses all
  926.     available space on drive for the file.
  927.  
  928. /R=ratio
  929.     Sets maximum logical size of the JAM Archive by specifying an
  930.     anticipated compression ratio (percentage of compressed size /
  931.     original size):
  932.  
  933.     ratio = 100 % -> 1.0:1 (zero compression), ... ,
  934.  
  935.     ratio =  40 % -> 2.5:1 (default value for compression ratio), ... ,
  936.  
  937.     ratio =  10 % ->10.0:1 (maximum compression).
  938.  
  939. /C=clustsiz
  940.     Sets cluster size, in K-bytes, for the JAM Archive File. Using this
  941.     switch you may specify either 4K or 8K (default value) clusters.
  942.  
  943. JAM 1.10  User's Guide                                           Page 23
  944. ------------------------------------------------------------------------
  945.  
  946. /F=fats
  947.     Sets the number of FAT (DOS File Allocation Table) copies. If you
  948.     omit this switch JCREATE initializes one File Allocation Table on
  949.     new JAM Archive File. If your system does not work with disk drives
  950.     having only one FAT, you need to set this parameter to 2.
  951.  
  952. /D=dirsiz
  953.     Sets the maximum number of root directory entries. Values supported
  954.     are: 64, 128, 256, or 512. If you omit this switch JCREATE
  955.     initializes 256 entries in root directory.
  956.  
  957. /V[label]
  958.     Specifies the JAM-drive volume label. If you use this switch
  959.     without specifying name to be assigned to volume label, JCREATE
  960.     doesn't create label on new JAM Archive. If you omit this switch,
  961.     JCREATE uses filename string to make volume label.
  962.  
  963. /Q
  964.     Quiet mode (does not display status messages).
  965.  
  966. Notes
  967.  
  968. Before you run JCREATE ...
  969.  
  970. It is strongly recommended TO TEST AND DEFRAGMENT your disk BEFORE you
  971. create any archive file. By doing so you will avoid numerous possible
  972. problems, and ensure maximum performance of compressed drive you will
  973. create.
  974.  
  975. JAM Archive File attributes
  976.  
  977. Using JCREATE with /A switch will also protect your new Archive file
  978. from occasionally removing, modification and physical reallocation.
  979.  
  980. Do not use DISK DEFRAGMENTATION UTILITIES (e.g Central Point Software's
  981. COMPRESS, Norton Utilities' SPEEDISK (MS-DOS 6.0+ DEFRAG) and alike)
  982. when you have mounted JAM Archive files which do not have HIDDEN and/or
  983. SYSTEM attribute set.  Doing so can result in relocating compressed JAM
  984. volumes without noticing JAM driver, thus causing serious data loss and
  985. corruption.  Either UNMOUNT JAM Archives prior to disk optimization
  986. (see Section 4.3. for details) or give them HIDDEN attribute with
  987. JCREATE or DOS ATTRIB program.
  988.  
  989. Archives with 4K and 8K bytes clusters
  990.  
  991. Using JCREATE you may initialize JAM archives with either 4K or 8K
  992. clusters. The main advantage of archives with 4K bytes clusters is
  993. possibility to load JAM driver with small buffers (see JAM.SYS /C
  994. switch). In this case JAM.SYS will need only 24K bytes of memory to
  995. work with such archive. Opposite reason is the better compression ratio
  996. (usually +5..10%) achieved on drives with 8K bytes clusters.
  997.  
  998. JAM 1.10  User's Guide                                           Page 24
  999. ------------------------------------------------------------------------
  1000.  
  1001. Initializing RAM drive for compression
  1002.  
  1003. Using the JAM it is possible to enlarge size of the RAM-drive on your
  1004. PC as well as its hard-disk capacity. To do it you should simply create
  1005. JAM Archive File on your RAM disk and then mount it as a JAM drive.
  1006. To allow you perform all these steps in the most convenient way, we made
  1007. file JCREATE.COM both an executable program and a device driver. An
  1008. example of running JCREATE from CONFIG.SYS file is given below.
  1009.  
  1010. Examples
  1011.  
  1012. To create a new JAM Archive file that uses all available space on
  1013. uncompressed drive E, type the following command:
  1014.  
  1015.     JCREATE E:TEST1
  1016.  
  1017. To create a new JAM Archive File by using 10 MB of space on uncompressed
  1018. drive E, type the following command:
  1019.  
  1020.     JCREATE E:TEST2 /s=10240
  1021.  
  1022. To create a new JAM Archive File by using 10M of space on uncompressed
  1023. drive E, and to direct the JAM driver to recalculate space on them using
  1024. anticipated compression ratio 25% (4.0 to 1), type the following
  1025. command:
  1026.  
  1027.     JCREATE E:TEST3 /s=10240 /r=25
  1028.  
  1029. To initialize RAM-drive R: for compression during system start-up, you
  1030. may add the following line into your CONFIG.SYS file:
  1031.  
  1032.     DEVICE=C:\JAM\JCREATE.COM /Q R:\RAM-DISK.JAM
  1033.  
  1034. (switch /Q prevents display status messages on your display).
  1035.  
  1036.  
  1037. JAM 1.10  User's Guide                                           Page 25
  1038. ------------------------------------------------------------------------
  1039.  
  1040. Error messages
  1041.  
  1042.  1. Incorrect DOS version.
  1043.     PC-DOS/MS-DOS 3.30-7.0, DR-DOS 6.0, or Novell DOS 7 required.
  1044.  
  1045.     The JAM has NOT been tested with version of DOS that your computer
  1046.     has now. JAM 1.10 supports only PC-DOS/MS-DOS 3.30-7.0, DR-DOS
  1047.     6.0 and Novell DOS 7. If you have newer release of MS-DOS /PC-DOS
  1048.     or Novell DOS, please contact us for update information.
  1049.  
  1050.  2. Invalid switch: /xxx
  1051.  3. Incorrect parameter: /<switch>=xxxxx
  1052.  
  1053.     Specified switch is not supported by JCREATE or specified value
  1054.     is out of range. Run JCREATE/? for help.
  1055.  
  1056.  4. Invalid (or MS-DOS reserved) file name: xxxxxxxxx
  1057.  
  1058.     Specified filename cannot be resolved to fully qualified form
  1059.     (drive:\path\filename.ext). You may receive this message if
  1060.     specified drive does not exist, path\filename was spelled
  1061.     incorrectly, or if you have specified some MS-DOS reserved name
  1062.     (for example, PRN, CON, NUL, CLOCK$ ...).
  1063.  
  1064.  5. Name of the JAM-file expected
  1065.  
  1066.     Name of the JAM-file was omitted or spelled incorrectly.
  1067.     To create new Archive File using JCREATE, you should specify file
  1068.     name as an essential parameter.
  1069.  
  1070.  6. File xxxxxxxx already exists
  1071.  
  1072.     Specified file already exist. You should use another name (path),
  1073.     or delete existing file if you have just created it by running
  1074.     JCREATE with wrong parameters.
  1075.  
  1076.  7. Invalid drive specification z:
  1077.  
  1078.     Specified path/filename points to drive that actually does not
  1079.     exist.
  1080.  
  1081.  8. There are only xxxxxxx bytes free on drive z:
  1082.  
  1083.     Specified file size (/S parameter), is larger than amount of free
  1084.     space on drive you want to use to create Archive File.
  1085.  
  1086. JAM 1.10  User's Guide                                           Page 26
  1087. ------------------------------------------------------------------------
  1088.  
  1089.  9. Logical drive size too big (> XXX Mbytes)
  1090.     Try to specify smaller physical size (/S), or anticipated
  1091.     compression ratio (/R)
  1092.  
  1093.     Specified combination of /C, /S and /R parameters produces too big
  1094.     logical drive size. Because number of clusters on standard DOS
  1095.     drives cannot be greater than 65526 (hex FFF6), maximum logical
  1096.     sizes of JAM drives with 4K and 8K clusters are 256M and 512M bytes
  1097.     respectively. Try to specify larger cluster size (/C switch), or
  1098.     smaller physical size (/S switch), or larger anticipated
  1099.     compression ratio in terms of space usage (/R switch).
  1100.  
  1101. 10. ... cannot create file
  1102. 11. ... unable to write
  1103. 12. ... cannot close file
  1104.  
  1105.     These errors may appear during Archive File creation process. They
  1106.     mean your target disk/directory is full or you have problems with
  1107.     physical writing on your disk. Try to run NDD or ScanDisk to test
  1108.     your disk.
  1109.  
  1110. 13. ... -> JCREATE aborted
  1111.  
  1112.     Control-c or control-break was pressed.
  1113.  
  1114.  
  1115. JAM 1.10  User's Guide                                           Page 27
  1116. ------------------------------------------------------------------------
  1117.  
  1118.                       4.2. The JAM device driver
  1119.                     ------------------------------
  1120.  
  1121. The JAM device driver is a utility that provides access to your
  1122. compressed drives. To initialize it you should add the DEVICE command
  1123. for JAM.SYS driver to your CONFIG.SYS file.  Also you may use DOS's
  1124. DEVICEHIGH command or special LOADHI (HILOAD) programs (supplied with
  1125. QEMM or 386MAX packages) to load JAM.SYS to upper memory.
  1126.  
  1127. Syntax
  1128.  
  1129.     DEVICE=[drive:][\][path\]JAM.SYS [/M=maxmount] [/C=clustsiz]
  1130.          [/A=allocbufs] [/B=clustbufs]
  1131. or
  1132.     DEVICEHIGH=[drive:][\][path\]JAM.SYS [/M=maxmount] [/C=clustsiz]
  1133.          [/A=allocbufs] [/B=clustbufs]
  1134.  
  1135. Parameter
  1136.  
  1137. [drive:][\][path\]
  1138.     Specifies the location of the JAM.SYS file.
  1139.  
  1140. Switches
  1141.  
  1142. /M=maxmount
  1143.     Specifies the number of mountable JAM drives. If you omit this
  1144.     switch, JAM.SYS initializes only one drive, that will be assigned
  1145.     to first available drive letter in DOS drive list. If you need to
  1146.     mount more than one JAM Archive File, you should specify the number
  1147.     of your files next to the /M= switch. JAM.SYS is able to support
  1148.     up to ten drives at the same time.
  1149.  
  1150. /C=clustsiz
  1151.     Specifies maximum cluster size (in Kbytes) of all JAM files to be
  1152.     mounted. If you omit this switch JAM.SYS will support Archives with
  1153.     either 4K or 8K clusters. If you need to mount JAM Files with only
  1154.     4K clusters you may set this parameter to 4. This will allow you
  1155.     reduce size of the JAM driver in memory by 8K.  More detailed
  1156.     information concerning memory consumption is given below.
  1157.  
  1158. /A=allocbufs
  1159.     Specifies the number of Allocation Buffers. These buffers JAM.SYS
  1160.     uses to speed-up access to JDTs (JAM drive Descriptor Table) on
  1161.     mounted Archive Files. By default the JAM driver uses one
  1162.     allocation buffer.
  1163.  
  1164. /B=clustbufs
  1165.     Specifies the number of Data Buffers. JAM.SYS uses these buffers to
  1166.     speed-up access to compressed clusters on mounted Archive Files. If
  1167.     you omit this switch JAM driver will use one buffer for
  1168.     compressible data.
  1169.  
  1170. JAM 1.10  User's Guide                                           Page 28
  1171. ------------------------------------------------------------------------
  1172.  
  1173. Notes
  1174.  
  1175. JAM.SYS and JMOUNT.COM
  1176.  
  1177. Unlike other real-time compressors (e.g. SuperStor or Stacker)
  1178. the JAM driver DOES NOT MOUNT ARCHIVE FILES AUTOMATICALLY. This means,
  1179. that any attempts to read from /write to a JAM drive will cause "Device
  1180. not ready" error (like when you forget to insert diskette in floppy-
  1181. drive), until you ASSIGN this drive to a JAM Archive file. To perform
  1182. such assignment you should run JMOUNT utility (either immediately after
  1183. loading JAM.SYS in CONFIG.SYS file or whenever else).
  1184.  
  1185. Loading programs from JAM-drives during system start-up
  1186.  
  1187. If you want to run a program that is placed on the JAM-drive from your
  1188. CONFIG.SYS or AUTOEXEC.BAT files, you should be sure that JAM.SYS was
  1189. installed and assigned to corresponding Archive File BEFORE you call
  1190. your program. Otherwise you will get error message like "Unrecognized
  1191. command in CONFIG.SYS" or "Bad command or file name".
  1192.  
  1193. In any case, you should NOT move system files:
  1194. IO.SYS (or IBMIO.COM in PC-DOS or DR-DOS), MSDOS.SYS (or IBMDOS.COM),
  1195. HIMEM.SYS (or HIDOS.SYS), EMM386.SYS (or any other Expanded Memory
  1196. Manager that you use), configuration information such as CONFIG.SYS,
  1197. and files JAM.SYS and JMOUNT.COM to the JAM drive.
  1198.  
  1199. JAM.SYS switches and their influence on memory consumption
  1200.  
  1201. The following table describes JAM.SYS memory usage:
  1202.  
  1203. -----------------------+--------------+-------------------------------
  1204. Object                 |    Parameter |          Object Size
  1205.                        |              | clustsiz = 8K   clustsiz = 4K
  1206. -----------------------+--------------+---------------+---------------
  1207. Driver itself          |        ----- |         22.3K |         18.3K
  1208. Each drive supported   |  /M=maxmount |          1.2K |          1.2K
  1209. Each allocation buffer | /A=allocbufs |          0.5K |          0.5K
  1210. Each cluster buffer    | /B=clustbufs |            8K |            4K
  1211. -----------------------+--------------+---------------+---------------
  1212. Total:         14.3K + 1.2K * maxmount + 0.5K * allocbufs
  1213.                      + 1K * (clustbufs +1) * clustsiz
  1214.  
  1215. Using internal cache system
  1216.  
  1217. To increase compressed drives performance, JAM.SYS uses two sets of disk
  1218. buffers. The first ones are used to speed-up access to JDTs (JAM Drive
  1219. Descriptor Table) on mounted Archive Files. Each allocation buffer has
  1220. 512 bytes (1 sector) of length and may consist of up to 128 clusters'
  1221. descriptors. It's quite enough to work with drives, whose overall size
  1222. is less than 10M. But, if your JAM drives have a large capacity, you
  1223. should enlarge this value. To choose the most suitable to your system
  1224. number of allocation buffers, use the following table:
  1225.  
  1226. JAM 1.10  User's Guide                                           Page 29
  1227. ------------------------------------------------------------------------
  1228.  
  1229. ---------------------+------------------------------------------------
  1230. JAM drive capacity   |     Recommended number of Allocation Buffers
  1231.                      |    clustsiz = 8K               clustsiz = 4K
  1232. ---------------------+------------------------+-----------------------
  1233.      <=  20M         |           4            |           8
  1234.      <=  40M         |           8            |          16
  1235.      <=  70M         |          15            |          30
  1236.      <= 100M         |          25            |          45
  1237.      >= 200M         | you should set /A=2 and use external disk cache
  1238. ---------------------+------------------------+-----------------------
  1239.  
  1240. The second set of buffers JAM.SYS uses to speed-up access to compressed
  1241. data on mounted Archive Files. These buffers contain EXPANDED data of
  1242. clusters that have been read from or that will be written to the disk.
  1243. Size of each data buffer is equal to maximum cluster size supported by
  1244. the JAM driver and may be 4K or 8K bytes. So, using large number of
  1245. data buffers, you will take a lot of memory from DOS. We recommend you
  1246. to choose number of data buffers in range from 1 to 8 in accordance
  1247. with your speed/memory requirements.
  1248.  
  1249. Using external disk caches
  1250.  
  1251. The built-in JAM.SYS cache system provides speed-up only for your
  1252. compressed drives. Moreover, the JAM driver cache DOES NOT SUPPORT
  1253. background disk writing, reordering low-level i/o requests, special
  1254. hard disk read/write modes, and other advanced methods of disk
  1255. performance improvement that do not guarantee full safety for your
  1256. data.
  1257.  
  1258. In other words, the JAM.SYS internal cache system could not completely
  1259. replace a standard disk cache utility, e.g. SMARTDrive, HyperDisk,
  1260. Super PC-Kwik (or its OEMs: PC-Cache and Qualitas  Qcache), NCACHE2,
  1261. etc.
  1262.  
  1263. So, if you have one of these programs running with the JAM, you should
  1264. release some memory by resetting JAM.SYS's /A and /B switches. The
  1265. number of allocation buffers (/A switch) should not be larger than
  1266. number of currently supported JAM drives. The number of data buffers
  1267. (/B switch) may be 1.
  1268.  
  1269. Some modern disk caches (like SMARTdrive 4.0+, NCACHE2, NWCACHE, etc.)
  1270. intercept (and/or reorganize) requests to all (existing at the moment
  1271. of the cache initialization) DOS block device drivers, including the
  1272. JAM ones. This means, that the data on the JAM drives would be cached
  1273. TWICE:
  1274.   1. When DOS reads Original Data from/ writes to a JAM drive,
  1275.   2. When JAM driver reads Compressed Data from/ writes to a
  1276.      Host drive for the JAM Archive.
  1277.  
  1278. To prevent this effect (and to make work with your compressed data
  1279. more reliable) you should load your disk cache BEFORE JAM.SYS driver,
  1280. thus leaving only the second way for caching JAM drives.
  1281.  
  1282. JAM 1.10  User's Guide                                           Page 30
  1283. ------------------------------------------------------------------------
  1284.  
  1285. In addition, you can get additional speed-up for compressed drives
  1286. even if you use an external disk cache. The point is that external
  1287. cache program holds some data from physical disk (you CANNOT run cache
  1288. program over the JAM logical drives), thus these data ARE COMPRESSED,
  1289. and to make them visible for application programs JAM.SYS MUST EXPAND
  1290. them. When you use JAM driver's own disk cache buffers (see discussion
  1291. of /B switch above), this decompression overhead can be sometimes
  1292. avoided.
  1293.  
  1294. Example
  1295.  
  1296. To install JAM driver that supports 1 logical drive with 8K clusters
  1297. and uses 1 allocation and 1 data buffers, add to file CONFIG.SYS the
  1298. following line:
  1299.  
  1300.     DEVICE=C:\JAM\JAM.SYS
  1301.  
  1302. Error messages
  1303.  
  1304.  1. JAM-driver already installed.
  1305.  
  1306.     Your CONFIG.SYS file has at least two lines that initialize JAM.SYS
  1307.     device driver. You may load the JAM driver only one time. To
  1308.     support more than one JAM drive use /M switch.
  1309.  
  1310.  2. CPU Intel 80188/186+ or NEC V20/V30 required.
  1311.  
  1312.     JAM.SYS needs at least an Intel 80188/186+ or NEC V20/V30 CPU to
  1313.     work properly. If you have one of the more modern CPU (I80386,
  1314.     I80486, or Pentium), the JAM driver will automatically detect and
  1315.     fully utilize its power.
  1316.  
  1317.  3. Incorrect DOS version.
  1318.     PC-DOS/MS-DOS 3.30-7.0, DR-DOS 6.0, or Novell DOS 7 required.
  1319.  
  1320.     See JCREATE error #1 (chapter 5.1.) for comments.
  1321.  
  1322.  4. Insufficient memory.
  1323.  
  1324.     Insufficient memory is available to install the JAM driver. Try
  1325.     reduce number of its buffers (/A and /B parameters).
  1326.  
  1327.     You may also receive this message if you have tried to load JAM
  1328.     Driver high with some unsupported memory management software
  1329.     (currently, MS-,PC-,DR- and Novell-DOS EMM386.SYS drivers were
  1330.     tested, as well as QEMM, 386MAX, etc.). If the problem disappears
  1331.     when loading driver low, please contact us for update information.
  1332.  
  1333.  5. Incorrect parameter.
  1334.  
  1335.     The specified switch is not supported by JAM.SYS or specified
  1336.     value is out of range.
  1337.  
  1338.  
  1339. JAM 1.10  User's Guide                                           Page 31
  1340. ------------------------------------------------------------------------
  1341.  
  1342.                         4.3. The JMOUNT utility
  1343.                       ---------------------------
  1344.  
  1345. Shows JAM drive map, or mounts/unmounts JAM drives.
  1346.  
  1347. Unlike other real-time compressors (e.g. SuperStor or Stacker) the
  1348. JAM driver DOES NOT MOUNT ARCHIVE FILES AUTOMATICALLY. To perform a
  1349. connection between each your JAM Archive Files and JAM drive letters you
  1350. must run this utility. Thus you can set for each JAM drive its own
  1351. ACCESS MODE (see section Notes for details).
  1352.  
  1353. Syntax
  1354.  
  1355.     DEVICE=[drive1:][\][path1\]JMOUNT.COM [/M]
  1356.         [drive2:][\][path2\]filename[.jam] [drive3:] [/W[:][mode] | /R]
  1357.  
  1358.     DEVICE=[drive1:][\][path1\]JMOUNT.COM [/U] drive4: [/W[:][mode] | /R]
  1359.  
  1360.     DEVICE=[drive1:][\][path1\]JMOUNT.COM /D drive5:
  1361. or
  1362.     JMOUNT [/M]
  1363.         [drive2:][\][path2\]filename[.jam] [drive3:] [/W[:][mode] | /R]
  1364.  
  1365.     JMOUNT [/U] drive4: [/W[:][mode] | /R]
  1366.  
  1367.     JMOUNT /D drive5:
  1368.  
  1369. Parameters
  1370.  
  1371. [drive1:][\][path1\]
  1372.     Specifies the location of the JMOUNT.COM file.
  1373.  
  1374. [drive2:][\][path2\]
  1375.     Full or relative path of the file to mount. This is optional part
  1376.     of the file name. If you omit it, JMOUNT uses current DOS drive/
  1377.     directory to find file to mount.
  1378.  
  1379. filename[.ext]
  1380.     Specifies the name of the Archive file you want to mount. If you
  1381.     omit extension, JMOUNT uses ".JAM".
  1382.  
  1383. drive3:
  1384.     Specifies the drive letter to assign to the newly mounted
  1385.     compressed drive. This switch is optional; if you don't specify
  1386.     a drive letter, JMOUNT assigns the new drive the next available
  1387.     drive letter.
  1388.  
  1389. drive4:
  1390.     Specifies the drive for which you want to change the ACCESS MODE .
  1391.  
  1392. drive5:
  1393.     Specifies the drive you want to unmount.
  1394.  
  1395. JAM 1.10  User's Guide                                           Page 32
  1396. ------------------------------------------------------------------------
  1397.  
  1398. Switches
  1399.  
  1400. /M
  1401.     Establishes a connection between a JAM Archive File (filename[.jam]
  1402.     parameter) and a JAM drive letter (drive4: parameter), so that you
  1403.     can use the files the JAM file contains. This switch is optional;
  1404.     if you don't specify either /U, /W, /R or /D switches, JMOUNT
  1405.     performs this action, if 'filename' and 'drive4' parameters are
  1406.     found.
  1407.  
  1408. /W[:][mode]
  1409.     Allows write/modify data on the newly mounted compressed drive.
  1410.     This switch is optional; if you don't specify /R switch, JMOUNT
  1411.     sets compressed drive to read-write mode with disabled direct
  1412.     write, enabled write-behind caching, and standard allocation
  1413.     strategy (see section NOTES for details).
  1414.  
  1415.     The following list describes each of the values you can use for
  1416.     mode. The colon (:) is optional. Use any combination of the values,
  1417.     and do not separate these values with spaces.
  1418.  
  1419.     +C or C      enables write behind caching for the JAM-drive
  1420.  
  1421.     -C           disables write-behind caching for the JAM-drive
  1422.  
  1423.     +U or U      use fully undelete-compatible allocation strategy on
  1424.                  the JAM drive
  1425.  
  1426.     -U           use standard allocation strategy on the JAM drive
  1427.  
  1428.     +D or D      enable direct write to the JAM drive
  1429.  
  1430.     -D           disable direct write to the JAM drive
  1431.  
  1432. /R
  1433.     Sets read-only mode for the newly mounted compressed drive. You
  1434.     cannot use this switch in combination with /W[:][mode].
  1435.  
  1436. /U
  1437.     Resets access mode for already mounted JAM drive 'drive4:'. This
  1438.     switch is optional; if you don't specify /M or /D commands and
  1439.     either /W, or /R switches are specified, JMOUNT performs this
  1440.     action. You may use this switch to make your JAM drive accessible
  1441.     or inaccessible for writing, to enable or disable write behind
  1442.     caching, or to change its allocation strategy (see section NOTES
  1443.     for details).
  1444.  
  1445. /D
  1446.     Breaks the connection between the selected drive's compressed
  1447.     Archive File and its drive letter 'drive5:'. Unmounting a drive
  1448.     makes it temporarily unavailable.
  1449.  
  1450. /Q
  1451.     Quiet mode (does not display status messages).
  1452.  
  1453. JAM 1.10  User's Guide                                           Page 33
  1454. ------------------------------------------------------------------------
  1455.  
  1456. Notes
  1457.  
  1458. Current JAM drive map
  1459.  
  1460. If you run JMOUNT with no parameters, it displays the current JAM drive
  1461. map. For each drive letter that refers to the JAM drive, JMOUNT shows
  1462. its Archive File and access mode (flags: [ReadOnly], [DirectWrite],
  1463. [NoCache], [StdUndel]).  In cases when the JAM drive is unmounted or is
  1464. engaged by another JAM utility (for example if JMAX is working), JMOUNT
  1465. displays status 'available' or 'locked' accordingly.
  1466.  
  1467. Mounting JAM drives Read-Only
  1468.  
  1469. By using /R switch, it is possible to protect all data on your JAM drive
  1470. from any modifications. This mode will be useful for drives that contain
  1471. executable files of some large packages, games, books and other
  1472. information you need not to modify. Usually such data occupy about 80%
  1473. and more of hard disk space and we recommend you to store and protect
  1474. it using the JAM package.
  1475.  
  1476. Control direct write requests
  1477.  
  1478. Another level of data protection on the JAM drives is presented by
  1479. the [DirectWrite] flag. This flag could be set/cleared by the /W[+|-]D
  1480. switches' combination. When [DirectWrite] flag is cleared (the default
  1481. setting), the JAM driver blocks all direct requests to write data.
  1482. These requests (DOS interrupt #26h, and non-DOS JAM driver calls) could
  1483. be produced only by some low-level disk utilities (e.g. Norton
  1484. Utilities' DiskEdit, DiskTools, UnErase, etc.). So, if you want to run
  1485. such an utility on the JAM drive, and COMPLETELY UNDERSTAND WHAT YOU
  1486. HAVE TO DO, you should remount it to allow direct writing. After these
  1487. activities are completed, run JMOUNT again to resume [DirectWrite]
  1488. protection.
  1489.  
  1490. Using write behind caching
  1491.  
  1492. The /W[+|-]C combination of switches allows you to control the JAM
  1493. internal cache system. By the default, the JAM driver uses write behind
  1494. caching. This means that if JAM driver receives two or more requests to
  1495. write data into the same group of adjacent sectors, and this area could
  1496. be covered by JAM.SYS data buffers, then this area will be compressed
  1497. and physically written only once. To make such optimization completely
  1498. safe, the JAM driver keeps data in buffers only while DOS writes files,
  1499. and flushes them when DOS finishes this work (i.e. when you close file).
  1500. Nevertheless, having run JMOUNT utility with /W-C parameter you will
  1501. force JAM.SYS write all data on disk immediately.  This mode could be
  1502. useful, for example, for system programmers, when they are debugging
  1503. their programs, or doing everything else which may hang system in any
  1504. moment.
  1505.  
  1506. JAM 1.10  User's Guide                                           Page 34
  1507. ------------------------------------------------------------------------
  1508.  
  1509. The JAM allocation strategies
  1510.  
  1511. The JAM driver provides two alternative strategies of managing space in
  1512. JAM Archive files. The first (default) strategy allows you efficiently
  1513. use JAM Drive Physical Space, but has some limitations on possibility
  1514. of successful file UnDelete operations. In other words, we can guarantee,
  1515. that you will successfully UnDelete file only if you will run UnDelete
  1516. utility IMMEDIATELY after the file was deleted. In other cases (if some
  1517. data has been written to the JAM drive) even if your UnDelete utility
  1518. reports that file is successfully recovered, you could find some
  1519. corrupted clusters (containing garbage or zeros) in it.
  1520.  
  1521. You will avoid this problem if you choose the second (Full Undelete
  1522. Compatible) strategy. Working in this mode it is always possible to
  1523. recover deleted files, if standard UnDelete utility tells that they are
  1524. not damaged. But this method has one disadvantage -- excessive Physical
  1525. Space usage. For example, immediately after deleting some of your files
  1526. you will have slightly less amount of additional Physical Free Space
  1527. than overall Physical Size of files deleted. To force JAM driver use
  1528. all Available Physical Space in this mode, you should run JMAX utility
  1529. with /C switch to clear (deallocate) all information in pending deleted
  1530. files.
  1531.  
  1532. Examples
  1533.  
  1534. To mount the compressed Archive File TEST.JAM located on default
  1535. drive/directory, as first available JAM drive (say, drive J:), you
  1536. would type the following:
  1537.  
  1538.     JMOUNT /M TEST J:
  1539.  
  1540. or just:
  1541.  
  1542.     JMOUNT TEST
  1543.  
  1544. To make JAM drive J: read-only, you would type the following:
  1545.  
  1546.     JMOUNT /U /R J:
  1547.  
  1548. or just:
  1549.  
  1550.     JMOUNT /R J:
  1551.  
  1552. To unmount compressed drive J, type the following command:
  1553.  
  1554.     JMOUNT /D J:
  1555.  
  1556.  
  1557. JAM 1.10  User's Guide                                           Page 35
  1558. ------------------------------------------------------------------------
  1559.  
  1560. Error messages
  1561.  
  1562.  1. Incorrect DOS version.
  1563.     PC-DOS/MS-DOS 3.30-7.0, DR-DOS 6.0, or Novell DOS 7 required.
  1564.  
  1565.     See JCREATE error #1 (section 4.1.) for comments.
  1566.  
  1567.  2. JAM driver not installed.
  1568.  
  1569.     JMOUNT cannot perform any action, except show help screen (/? switch)
  1570.     while JAM driver isn't in memory.
  1571.  
  1572.  3. Incorrect JAM.SYS version.
  1573.  
  1574.     You have incompatible versions of the JAM device driver (file
  1575.     JAM.SYS) and its mount/unmount utility (file JMOUNT.COM). You
  1576.     should either reinstall the latest release of the JAM package you
  1577.     have, or (if this error appears again) contact us to get the latest
  1578.     official release version.
  1579.  
  1580.  4. Invalid parameter: xxxx.
  1581.  
  1582.     JMOUNT detects too many parameters. See section SYNTAX or run
  1583.     JMOUNT/? for help.
  1584.  
  1585.  5. Invalid switch: xxxx.
  1586.  6. Invalid combination of command line switches.
  1587.  
  1588.     Specified switch does not supported by JMOUNT or two of specified
  1589.     switches cannot be used simultaneously. See section SYNTAX or run
  1590.     JMOUNT/? for help.
  1591.  
  1592.  7. No available JAM drive(s).
  1593.  
  1594.     All JAM drives are mounted. Dismount one of them, or increase
  1595.     number of JAM.SYS drives by specifying larger /M parameter in
  1596.     your CONFIG.SYS file.
  1597.  
  1598.  8. JAM-drive specification expected.
  1599.  
  1600.     JMOUNT doesn't know to which JAM drive specified action (/D, or /U
  1601.     switches) refers. To reset, or unmount the JAM drive, you should
  1602.     specify its drive letter as an essential parameter.
  1603.  
  1604.  9. Invalid drive specification: x:
  1605.  
  1606.     Specified drive does not exist, or it was spelled incorrectly.
  1607.  
  1608. JAM 1.10  User's Guide                                           Page 36
  1609. ------------------------------------------------------------------------
  1610.  
  1611. 10. Drive x: isn't a JAM device.
  1612.  
  1613. 11. JAM drive x: already mounted.
  1614.  
  1615. 12. JAM drive x: already unmounted.
  1616.  
  1617. 13. JAM drive x: locked.
  1618.  
  1619.     Specified JAM drive is locked by another JAM utility (for example,
  1620.     by JMAX or JCHKDSK). You may receive this message if you run JMOUNT
  1621.     from a multitasking program other than MS-Windows, DESQview, MS-DOS
  1622.     Task Switcher, or DR-DOS TaskMAX. Check out the other sessions of
  1623.     your task manager, and wait while JMAX or JCHKDSK finishes its
  1624.     work.
  1625.  
  1626. 14. JAM Archive File specification expected.
  1627.  
  1628.     Name of the JAM-file was omitted or spelled incorrectly. To mount
  1629.     the JAM drive, you should specify its Archive File as an essential
  1630.     parameter.
  1631.  
  1632. 15. Invalid file name: xxxxxxxxx
  1633.  
  1634.     See JCREATE error #4 (section 4.1.) for comments.
  1635.  
  1636. 16. JAM Archive File xxxxxxxxxxx already mounted as drive yy:
  1637.  
  1638.     You CANNOT mount a JAM Archive File as two or more JAM drives. To
  1639.     associate files on the JAM drive with different path /drive letter
  1640.     you could use DOS's ASSIGN, JOIN, or SUBST commands. See your DOS
  1641.     User's Guide for details.
  1642.  
  1643. 17. Invalid drive in JAM Archive File specification: xxxxxxxxxxx
  1644.  
  1645.     See JCREATE error #4 (section 4.1.) for comments.
  1646.  
  1647. 18. Cannot mount the Archive File located on a JAM device.
  1648.  
  1649. 19. Cannot mount the Archive File located on a removable device.
  1650.  
  1651.     The current version (1.10) of the JAM driver cannot work properly
  1652.     with archive files located on diskettes or others removable medias.
  1653.  
  1654.     Support for removable drives will be added to the future
  1655.     versions of the JAM. Please contact us for update information.
  1656.  
  1657. JAM 1.10  User's Guide                                           Page 37
  1658. ------------------------------------------------------------------------
  1659.  
  1660. 20. Cannot mount the Archive File located on a non-DOS device.
  1661.  
  1662. 21. Cannot mount the Archive File located on a remote device.
  1663.  
  1664.     The JAM driver cannot work with archive files located on a remote
  1665.     server. If you use one of the DOS-based LANs, you would have access
  1666.     to remote JAM files by installing the JAM on a server machine.
  1667.  
  1668. 22. Incompatible sector size on drive x:
  1669.  
  1670.     JAM driver doesn't support devices with non-standard sector size
  1671.     (almost all hard-disks use 512-bytes sectors).
  1672.  
  1673.     You may receive this error if your JAM file located on a RAM-disk,
  1674.     which is driven, for example by PC-DOS VDISK.SYS or MS-DOS
  1675.     RAMDRIVE.SYS driver. In this case, you should reinstall your
  1676.     RAM-disk driver to have 512-bytes sectors (refer to your DOS User's
  1677.     Guide for details).
  1678.  
  1679. 23. Cannot open JAM Archive File: xxxxxxxxxxx
  1680.  
  1681.     You may receive this message if specified file does not exist,
  1682.     its name was spelled incorrectly, or you have too many open files.
  1683.     To overcome the last case try to specify large value for the FILES=
  1684.     variable in your CONFIG.SYS file.
  1685.  
  1686. 24. Cannot read initial sector(s) of xxxxxxxxxxxxx
  1687.  
  1688. 25. Host drive error #xxxx.
  1689.  
  1690.     An error reading physical drive has occurred. To minimize the data
  1691.     loss the following steps should be taken:
  1692.  
  1693.     1. Unmount all JAM drives which Archive Files are on a defective
  1694.        disk.
  1695.     2. Run NDD, ScanDisk or other disk-repairing utility on your hard
  1696.        disk.
  1697.     3. Reboot your computer.
  1698.     4. Run JCHKDSK /F /T on your JAM drives.
  1699.  
  1700. 26. File xxxxxxxxxxxx isn't a JAM Archive.
  1701.  
  1702.     Either specified file has never been a JAM Archive, or it is a
  1703.     seriously damaged JAM File. In the latter case, you should
  1704.     contact us for technical support.
  1705.  
  1706. 27. Incompatible JAM Archive File version.
  1707.  
  1708.     Specified JAM Archive file is created by incompatible version of
  1709.     the JCREATE utility. Different versions of the JAM.SYS and
  1710.     JMOUNT.COM are required to properly work with this file. See also
  1711.     comments for JMOUNT error #3.
  1712.  
  1713. JAM 1.10  User's Guide                                           Page 38
  1714. ------------------------------------------------------------------------
  1715.  
  1716. 28. Invalid boot record in JAM Archive file: xxxxxxxxxxxx
  1717.  
  1718.     The JAM file xxxxxxxxxxxx has invalid boot record parameters.
  1719.     The file is probably corrupted or not a JAM file. Files that have
  1720.     been damaged in this way cannot be recovered automatically. See
  1721.     also comments for JMOUNT error #26.
  1722.  
  1723. 29. JAM Archive file xxxxxxxxxx cluster size too large.
  1724.  
  1725.     The JAM file xxxxxxxxxx has larger cluster size than JAM.SYS driver
  1726.     is currently supported. Add /C=8 to the JAM.SYS line in CONFIG.SYS
  1727.     and reboot.
  1728.  
  1729. 30. Bad first cluster, or file xxxxxxxxxxxxx is empty.
  1730.  
  1731.     JMOUNT cannot build list of sectors on your disk allocated by the
  1732.     JAM file xxxxxxxxxxxxxxx. Probably your hard disk file system is
  1733.     corrupted. Try to recover file xxxxxxxxxxxxxx manually (using
  1734.     DISKEDIT or others low-level disk-analyzing programs), and then do
  1735.     the steps described above for JMOUNT error #25.
  1736.  
  1737. 31. Cannot read FAT on drive x:
  1738.  
  1739.     See JMOUNT error #25 for comments.
  1740.  
  1741. 32. File xxxxxxxxxxx size/FAT chain mismatch.
  1742.  
  1743.     See JMOUNT error #30 for comments.
  1744.  
  1745. 33. File xxxxxxxxxxx too fragmented.
  1746.  
  1747.     Defragment your Host Drive and then rerun JMOUNT.
  1748.  
  1749. 34. Cannot mount file: xxxxxxxxxxxx in Undelete Compatible mode
  1750.  
  1751.     Some of your pending deleted files cannot be recovered. Having
  1752.     detected this, JMOUNT tries to mount archive file in standard mode.
  1753.  
  1754.     If you want to force the JAM driver work in Undelete Compatible
  1755.     mode again, you should do the following:
  1756.     1. Run JMAX /C on a JAM drive on which file xxxxxxxxxxxx is mounted
  1757.        (to remove all pending deleted files on archive).
  1758.     2. Run JMOUNT /U /W+U on this drive.
  1759.        (to set Undelete Compatible mode)
  1760.  
  1761. JAM 1.10  User's Guide                                           Page 39
  1762. ------------------------------------------------------------------------
  1763.  
  1764. 35. JAM Archive file xxxxxxxxxxx structure error - mounted read-only.
  1765.  
  1766.     A serious error in the JAM archive file structure was detected. To
  1767.     minimize the data loss, the following steps should be taken:
  1768.  
  1769.     1. Run JCHKDSK /T on a JAM drive on which file xxxxxxxx is mounted.
  1770.     2. Analyze the list of errors produced by JCHKDSK.
  1771.        a) Select all clusters which cannot be expanded.
  1772.        b) Select files which have these non-expandable clusters.
  1773.        c) Copy these files on any other drive, by DOS COPY command
  1774.           On all messages like:
  1775.            'Unable to read data from drive x: (Abort,Ignore,Fail)?'
  1776.            answer 'I'- ignore.
  1777.     3. Run JCHKDSK /T /F again. On all messages like:
  1778.        'Cluster #yyyyy (file 'xxxxxxxxxx') cannot be expanded, Clear it [Y/N]?
  1779.         answer 'Y' - clear.
  1780.     4. Run JMOUNT /U /W x: to switch a drive in read-write mode.
  1781.     5. Replace all files which you have corrected by their copies.
  1782.  
  1783.  
  1784. JAM 1.10  User's Guide                                           Page 40
  1785. ------------------------------------------------------------------------
  1786.  
  1787.                          4.4. The JDIR utility
  1788.                        -------------------------
  1789.  
  1790. The purpose and usage of this program is very similar to the one of
  1791. DOS's "DIR" command. The same as "DIR", JDIR displays a list of the
  1792. files and subdirectories that are in the directory you specify.
  1793.  
  1794. JDIR supports all standard switches of the MS-DOS 6.XX "DIR" and
  1795. provides a lot of advanced features, e.g. displays files' attributes,
  1796. displays files' fragmentation, detects allocation errors, etc.
  1797.  
  1798. In addition, being run on the JAM drive, JDIR is able to calculate and
  1799. show the compression percentage of files matched, and their average
  1800. compression ratio.
  1801.  
  1802. When you use JDIR without parameters or switches, it displays the
  1803. disk's volume label and serial number; one directory or filename per
  1804. line, including the filename extension, the file size in bytes, and the
  1805. date and time the file was last modified; and the total number of files
  1806. listed, their cumulative size, and the free space (in bytes) remaining
  1807. on the disk.
  1808.  
  1809. Syntax
  1810.  
  1811.     JDIR [drive:][\][path\][filename][.ext] [/P] [/W] [/A[:][attributes]]
  1812.          [/O[:][sortorder]] [/S] [/B] [/L] [/C[format]] [/F] [/K] [/M]
  1813.          [/T] [/U] [/Q]
  1814.  
  1815. Parameters
  1816.  
  1817. [drive:][\][path\]
  1818.     Specifies the drive and directory for which you want to see a
  1819.     listing.
  1820.  
  1821. [filename][.ext]
  1822.     Specifies a particular file or group of files for which you want to
  1823.     see a listing.
  1824.  
  1825. JAM 1.10  User's Guide                                           Page 41
  1826. ------------------------------------------------------------------------
  1827.  
  1828. Switches
  1829.  
  1830. /P
  1831.     Displays one screen of the listing at a time. To see the next
  1832.     screen, press any key.
  1833.  
  1834. /W
  1835.     Displays the listing in wide format, with as many as five filenames
  1836.     or directory names on each line.
  1837.  
  1838. /A[:][attributes]
  1839.     Displays only the names of those directories and files with the
  1840.     attributes you specify. If you omit this switch, JDIR displays the
  1841.     names of all files except hidden  and system files. If you use this
  1842.     switch without specifying attributes, JDIR displays the names of
  1843.     all files, including hidden and system files.
  1844.  
  1845.     The following list describes each of the values you can use for
  1846.     attributes. The colon (:) is optional. Use any combination of these
  1847.     values, and do not separate the values with spaces.
  1848.  
  1849.     +H or H      Hidden files
  1850.  
  1851.     -H           Files that are not hidden
  1852.  
  1853.     +S or S      System files
  1854.  
  1855.     -S           Files other than system files
  1856.  
  1857.     +D or D      Directories
  1858.  
  1859.     -D           Files only (not directories)
  1860.  
  1861.     +A or A      Files ready for archiving (backup)
  1862.  
  1863.     -A           Files that have not changed since the last backup
  1864.  
  1865.     +R or R      Read-only files
  1866.  
  1867.     -R           Files that are not read-only
  1868.  
  1869. JAM 1.10  User's Guide                                           Page 42
  1870. ------------------------------------------------------------------------
  1871.  
  1872. /O[:][sortorder]
  1873.     Controls the order in which JDIR sorts and displays directory names
  1874.     and filenames. If you omit this switch, JDIR displays the names in
  1875.     the order in which they occur in the directory. If you use this
  1876.     switch without specifying sortorder, JDIR displays the names of the
  1877.     directories, sorted in alphabetic order, and then displays the
  1878.     names of files, sorted in alphabetic order. The colon (:) is
  1879.     optional.
  1880.  
  1881.     The following list describes each of the values you can use for
  1882.     sortorder. Use any combination of the values, and do not separate
  1883.     these values with spaces.
  1884.  
  1885.     +N or N      In alphabetic order by name
  1886.  
  1887.     -N           In reverse alphabetic order by name (Z through A)
  1888.  
  1889.     +E or E      In alphabetic order by extension
  1890.  
  1891.     -E           In reverse alphabetic order by extension (Z through A)
  1892.  
  1893.     +D or D      By date and time, earliest first
  1894.  
  1895.     -D           By date and time, latest first
  1896.  
  1897.     +S or S      By size, smallest first
  1898.  
  1899.     -S           By size, largest first
  1900.  
  1901.     +G or G      With directories grouped before files
  1902.  
  1903.     -G           With directories grouped after files
  1904.  
  1905.     +C or C      By compression ratio, lowest first
  1906.  
  1907.     -C           By compression ratio, highest first
  1908.  
  1909.     +F or F      By file fragmentation, lowest first
  1910.  
  1911.     -F           By file fragmentation, highest first
  1912.  
  1913. JAM 1.10  User's Guide                                           Page 43
  1914. ------------------------------------------------------------------------
  1915.  
  1916. /S
  1917.     Lists every occurrence, in the specified directory and all
  1918.     subdirectories, of the specified filename.
  1919.  
  1920. /B
  1921.     Lists each directory name or filename, one per line (including the
  1922.     filename extension). This switch displays no heading information
  1923.     and no summary. The /B switch overrides the /W switch.
  1924.  
  1925. /L
  1926.     Displays unsorted directory names and filenames in lowercase.  This
  1927.     switch does not convert extended characters to lowercase.
  1928.  
  1929. /C[format]
  1930.     Displays the compression ratio of files compressed using the JAM.
  1931.     If you use this switch without specifying format, JDIR displays the
  1932.     compression ratio as percentage of space saving.
  1933.  
  1934.     The following list describes each of the values you can use for
  1935.     format.
  1936.  
  1937.     D  Default format (percentage of space saving)
  1938.  
  1939.     M  MS-DOS 6.0 DIR format (xx.y to 1.0)
  1940.  
  1941.     S  Stacker SDIR format (xx.y:1)
  1942.  
  1943.     The /C switch is ignored when used with the /W or /B switch.
  1944.  
  1945. /F
  1946.     Displays file fragmentation.
  1947.  
  1948. /K
  1949.     No volume label or pathname.
  1950.  
  1951. /M
  1952.     Omit total bytes information.
  1953.  
  1954. /T
  1955.     Displays file attributes.
  1956.  
  1957. /U
  1958.     Displays summary information only.
  1959.  
  1960. /Q
  1961.     Quiet mode (does not display status messages).
  1962.  
  1963. JAM 1.10  User's Guide                                           Page 44
  1964. ------------------------------------------------------------------------
  1965.  
  1966. Notes
  1967.  
  1968. Using wildcards with JDIR
  1969.  
  1970. You can use wildcards (* and ?) to display a listing of a subset of
  1971. files and subdirectories. For an example illustrating the use of a
  1972. wildcard, see the EXAMPLES section.
  1973.  
  1974. Specifying file display attributes
  1975.  
  1976. If you specify the /A switch with more than one value in attributes,
  1977. JDIR displays the names of only those files with all the specified
  1978. attributes. For example, if you specify the /A switch with the +R and
  1979. -H values for attributes by using either /A:+R-H, /A:R-H, /A+R-H or
  1980. /AR-H, JDIR displays only the names of read-only files that are not
  1981. hidden.
  1982.  
  1983. Specifying filename sorting
  1984.  
  1985. If you specify more than one sortorder value, JDIR sorts the filenames
  1986. by the first criterion first, then by the second criterion, and so on.
  1987. For example, if you specify the /O switch with the E and -S values for
  1988. sortorder by using either /O:+E-S, /O:E-S, /O+E-S or /OE-S, JDIR sorts
  1989. the names of directories and files by extension, with the largest
  1990. first, and displays the final result.  The alphabetic sorting by
  1991. extension causes filenames with no extensions to appear first, then
  1992. directory names, then filenames with extensions.
  1993.  
  1994. Using redirection symbols and pipes
  1995.  
  1996. When you use a redirection symbol (>) to send JDIR output to a file or
  1997. a pipe (|) to send JDIR output to another command, use the /A:-D, /B,
  1998. and /Q switches to list only the filenames. You can use the filename
  1999. parameter with the /B and /S switches to specify that JDIR is to search
  2000. the current directory and its subdirectories for all filenames that
  2001. match filename. JDIR lists only the drive letter, directory name,
  2002. filename, and filename extension, one path per line, for each filename
  2003. it finds.
  2004.  
  2005. Before using a pipe for redirection, you should set the TEMP
  2006. environment variable in your AUTOEXEC.BAT file. Otherwise, the
  2007. temporary file will appear in the directory listing.
  2008.  
  2009. JAM 1.10  User's Guide                                           Page 45
  2010. ------------------------------------------------------------------------
  2011.  
  2012. Presetting JDIR parameters and switches
  2013.  
  2014. You can preset JDIR parameters and switches by including the SET
  2015. command with the DIRCMD environment variable in your AUTOEXEC.BAT file.
  2016. You can use any valid combination of JDIR parameters and switches with
  2017. the SET DIRCMD command, including the location and name of a file.
  2018.  
  2019. For example, to use the DIRCMD environment variable to set the wide
  2020. display format (/W) as the default format, include the following
  2021. command in your AUTOEXEC.BAT file:
  2022.  
  2023.     SET DIRCMD=/W
  2024.  
  2025. For a single use of the JDIR command, you can override a switch set by
  2026. using the DIRCMD environment variable. To do so, you use the same
  2027. switch on the JDIR command line, but you must also precede the switch
  2028. letter with a minus sign, as the following example shows:
  2029.  
  2030.     JDIR /-W
  2031.  
  2032. You can change the DIRCMD default settings by typing the SET command at the
  2033. command prompt with a new parameter or switch after the equal sign (=). The
  2034. new default settings are effective for all subsequent DIR commands until you
  2035. use SET DIRCMD again on the command line or until you restart MS-DOS.
  2036.  
  2037.  
  2038. Examples
  2039.  
  2040. Suppose you want to display all files and directories in a directory,
  2041. including hidden or system files. To specify this display, type the
  2042. following command:
  2043.  
  2044.     JDIR /A
  2045.  
  2046. Suppose you want JDIR to display one directory listing after another,
  2047. until it has displayed the listing for every directory on the disk in
  2048. the current drive. Suppose also that you want JDIR to alphabetize each
  2049. directory listing, display it in wide format, and pause after each
  2050. screen. To specify such a display, be sure the root directory is the
  2051. current directory and then type the following command:
  2052.  
  2053.     JDIR /S/W/O/P
  2054.  
  2055. JAM 1.10  User's Guide                                           Page 46
  2056. ------------------------------------------------------------------------
  2057.  
  2058. JDIR lists the name of the root directory, the names of the
  2059. subdirectories of the root directory, and the names of the files in the
  2060. root directory (including extensions). Then JDIR lists the subdirectory
  2061. names and filenames in each subdirectory in the directory tree.
  2062.  
  2063. To alter the preceding example so that JDIR displays the filenames and
  2064. extensions but omits the directory names, type the following command:
  2065.  
  2066.     JDIR /S/W/O/P/A:-D
  2067.  
  2068. To print a directory listing, type the redirection symbol and PRN after
  2069. any form of the DIR command, as the following example shows:
  2070.  
  2071.     JDIR > PRN
  2072.  
  2073. When you specify PRN on the JDIR command line, the directory listing is
  2074. sent to the printer attached to the LPT1 port. If your printer is
  2075. attached to a different port, you must replace PRN with the name of the
  2076. correct port.
  2077.  
  2078. You can also redirect output of the JDIR command to a file by replacing
  2079. PRN with a filename. A path is also accepted on the command line. For
  2080. example, to direct JDIR output to the file JDIR.DOC in the RECORDS
  2081. directory, type the following command:
  2082.  
  2083.     JDIR > \RECORDS\JDIR.DOC
  2084.  
  2085. To display a list of all the filenames with the .TXT extension in all
  2086. directories on drive C, type the following command:
  2087.  
  2088.     JDIR C:\*.TXT /W/O/S/P
  2089.  
  2090. JDIR displays, in wide format, an alphabetized list of the matching
  2091. filenames in each directory and pauses each time the screen fills,
  2092. until you press a key to continue.
  2093.  
  2094.  
  2095. JAM 1.10  User's Guide                                           Page 47
  2096. ------------------------------------------------------------------------
  2097.  
  2098. Error messages
  2099.  
  2100.  1. Invalid parameter: xxxxxx.
  2101.  
  2102.     Specified switch is not supported by JDIR utility. Run JDIR /?
  2103.     for help.
  2104.  
  2105.  2. Invalid drive specification: xxxxxxxxx
  2106.  
  2107.  3. Cannot resolve pathname: xxxxxxxxx
  2108.  
  2109.     Specified pathname cannot be resolved to fully qualified form
  2110.     (drive:\path\filename.ext). You may receive these messages if
  2111.     specified drive does not exist, or path\filename was spelled
  2112.     incorrectly.
  2113.  
  2114.  4. Drive/pathname: xxxxxxxxxxxx
  2115.      redirected to: yyyyyyyyyyyyyy
  2116.  
  2117.     This message may appear if you run JDIR on a JOINed, SUBSTituted,
  2118.     ASSIGNed, or networked drives. In all such cases yyyyyyyyyyyyy
  2119.     means 'true' pathname that would be needed if the drive/path were
  2120.     not redirected as xxxxxxxxxxx.
  2121.  
  2122.  5. Direct I/O not allowed for drive: x:
  2123.  
  2124.     Specified drive doesn't support direct access. You may receive
  2125.     this message on some networked or non-standard DOS drives.
  2126.     This error cannot appear on JAM drives.
  2127.  
  2128.  6. Cannot read sectors #xxxx-yyyy on drive z:
  2129.     DOS error #ddd, BIOS error #bbb.
  2130.  
  2131.     An error occurred during direct reading drive z:. The following
  2132.     list describes each of the values you may receive as ddd and bbb.
  2133.  
  2134.     Device errors (ddd):
  2135.         13h = attempted write on write-protected disk
  2136.         14h = unknown unit ID
  2137.         15h = disk drive not ready
  2138.         16h = unknown command
  2139.         17h = disk data error (CRC error)
  2140.         18h = bad request structure length
  2141.         19h = disk seek error
  2142.         1ah = unknown disk media type
  2143.         1bh = disk sector not found
  2144.         1ch = printer out of paper
  2145.         1dh = write fault error
  2146.         1eh = read fault error
  2147.         1fh = general failure
  2148.  
  2149. JAM 1.10  User's Guide                                           Page 48
  2150. ------------------------------------------------------------------------
  2151.  
  2152.     BIOS errors (bbb):
  2153.         80h = attachment failed to respond
  2154.         40h = disk seek operation failed
  2155.         08h = bad CRC on diskette read
  2156.         04h = requested sector not found
  2157.         03h = attempted write on write-protected diskette
  2158.         02h = some error other than these listed above
  2159.  
  2160.  7. Incorrect JAM.SYS version.
  2161.  
  2162.     You have incompatible versions of the JAM device driver (file
  2163.     JAM.SYS) and its directory display utility (file JDIR.COM).  You
  2164.     should either reinstall the latest release of the JAM package you
  2165.     have, or (if this error appears again) contact us to get the
  2166.     latest official release.
  2167.  
  2168.  8. Invalid boot record on drive x:.
  2169.  
  2170.     Either you run JDIR on a non-standard DOS drive, or this drive is
  2171.     seriously damaged. See also comments for JMOUNT error #28.
  2172.  
  2173.  9. Not enough memory.
  2174.  
  2175.     Not enough memory to read disk structures (JDIR reads FAT, JDT (for
  2176.     JAM drives), and all directories in path and selecting tree (if /S
  2177.     switch specified)). On a PC with 640K of free DOS memory JDIR can
  2178.     handle disk with up to 4K subdirectories, containing up to 16K
  2179.     matching files.
  2180.  
  2181.     Try making more memory available to JDIR. If this does not rectify
  2182.     the problem then reduce the scope of your command and try again.
  2183.  
  2184. 10. Too many matching files.
  2185.  
  2186.     See JDIR error #9 for comments.
  2187.  
  2188. 11. Path x:\yyyyyyy not found.
  2189.  
  2190.     Specified directory does not exist. To show list of all directories
  2191.     on disk you may use: JDIR /A+D /B /S x:\ , where x: means your
  2192.     drive letter.
  2193.  
  2194. JAM 1.10  User's Guide                                           Page 49
  2195. ------------------------------------------------------------------------
  2196.  
  2197. 12. xxxxxxxx  has allocation error !!!
  2198.  
  2199.     File xxxxxxxxx seriously damaged. Possible one of the following
  2200.     allocation errors:
  2201.         1. File has invalid starting cluster number
  2202.         2. One of entries in FAT chain is out of range
  2203.         3. ........................... marked as bad cluster
  2204.         4. ........................... makes a circular link
  2205.         5. File size/ length of FAT chain mismatch
  2206.  
  2207.     Try to analyze your disk by JCHKDSK utility (without specifying /F
  2208.     switch). If no more serious errors will found, you could either
  2209.     recover this file manually (using for example DISKEDIT program), or
  2210.     (if it is impossible) delete this file.
  2211.  
  2212. 13. File not found
  2213.  
  2214.     File(s) not matched in a directory, or specified directory is
  2215.     empty. To check the last case use *.* wildcards and /A: switch.
  2216.  
  2217.  
  2218. JAM 1.10  User's Guide                                           Page 50
  2219. ------------------------------------------------------------------------
  2220.  
  2221.                        4.5. The JCHKDSK utility
  2222.                      ----------------------------
  2223.  
  2224. This checks the status of a disk and displays a status report. Can also
  2225. fix errors on standard DOS and JAM drives.
  2226.  
  2227. The status report shows errors found in the DOS file system, which
  2228. consists of the File Allocation Table (and JAM Descriptor Table for
  2229. JAM drives) and Directories. If errors exist on the disk, JCHKDSK
  2230. alerts you with a message. You should use JCHKDSK occasionally on each
  2231. disk drive to check for errors.
  2232.  
  2233. Syntax
  2234.  
  2235.     JCHKDSK [drive:][[\][path\]filename[.ext]] [/F] [/V]
  2236.         [/C] [/E] [/N] [/T] [/A] [/Q] [/X]
  2237.  
  2238. Parameters
  2239.  
  2240. drive:
  2241.     Specifies the letter of the drive you want JCHKDSK to check. This
  2242.     parameter is optional; if you do not specify a drive, JCHKDSK
  2243.     checks the current drive.
  2244.  
  2245. [\][path\]filename[.ext]
  2246.     Specifies the location and name of a file or set of files that you
  2247.     want CHKDSK to check for fragmentation. You can use wildcards (*
  2248.     and ?) to specify multiple files.
  2249.  
  2250. Switches
  2251.  
  2252. /F
  2253.     Fixes errors on the disk. Do not use this option when running
  2254.     JCHKDSK from multitasking programs other than MS-Windows, DESQview,
  2255.     MS-DOS Task Switcher, or DR-DOS 6.0 TaskMAX. For more information,
  2256.     see "Using CHKDSK with open files" in section Notes below.
  2257.  
  2258. /V
  2259.     Displays the name of each file in every directory as the disk is
  2260.     checked.
  2261.  
  2262. /C
  2263.     Compares FAT copies. Use this switch on standard DOS drives to
  2264.     ensure that each copy of the File Allocation Table (FAT) are
  2265.     exactly the same.
  2266.  
  2267. /E
  2268.     Shows empty files. This switch allows you to see all zero-length
  2269.     files on your disk. Some of such files could be left on your disk
  2270.     due to system hangs, crashes, etc.
  2271.  
  2272. JAM 1.10  User's Guide                                           Page 51
  2273. ------------------------------------------------------------------------
  2274.  
  2275. /N
  2276.     Strict file name checking. Assumes that file names may consist of:
  2277.     uppercased letters: A-Z, numbers 0-9, and some special characters:
  2278.     ~`!@#$%^&*()-_{}'.
  2279.  
  2280. /T
  2281.     Tests readability and verifies the integrity of files on a JAM
  2282.     drive.
  2283.  
  2284. /A
  2285.     Automatic mode. In combination with /F switch automatically
  2286.     selects the best way to recover most of disk errors.
  2287.  
  2288. /Q
  2289.     Quiet mode (does not display status messages like 'Reading...',
  2290.     Comparing FATs..., etc.).
  2291.  
  2292. /X
  2293.     Displays extended disk information (Sector and Cluster size, size
  2294.     of reserved disk area (Boot Sectors), size and number of FAT copies,
  2295.     maximum number of entries in the Root Directory, Total number of
  2296.     sectors on disk).
  2297.  
  2298.  
  2299. Notes
  2300.  
  2301. Format of status reports
  2302.  
  2303. On a standard DOS drive JCHKDSK displays status report similar to the
  2304. following example:
  2305.  
  2306. Volume in drive C: has no label
  2307.  
  2308.   10411008 bytes total disk space
  2309.      57344 bytes in 2 hidden files
  2310.      49152 bytes in 12 directories
  2311.    6377472 bytes in 265 user files
  2312.    3923968 bytes available on disk
  2313.  
  2314.       4096 bytes in each allocation unit
  2315.       2541 total allocation units on disk
  2316.        958 available allocation units on disk
  2317.  
  2318.     655360 bytes total memory
  2319.     545984 bytes available memory
  2320.  
  2321. JAM 1.10  User's Guide                                           Page 52
  2322. ------------------------------------------------------------------------
  2323.  
  2324. To show extended disk information (Sector and Cluster size, size
  2325. of reserved disk area (Boot Sectors), size and the number of FAT copies,
  2326. etc.) you should run JCHKDSK with /X switch.
  2327.  
  2328. Volume in drive C: has no label
  2329.  
  2330.        512 bytes per sector
  2331.          8 sectors per cluster
  2332.          1 sector(s) reserved
  2333.          2 FAT copies
  2334.          8 sectors per FAT
  2335.        512 maximum root directory entries
  2336.      20383 total sectors on disk
  2337.  
  2338.   10411008 bytes total disk space
  2339.      57344 bytes in 2 hidden files
  2340.      49152 bytes in 12 directories
  2341.    6377472 bytes in 265 user files
  2342.    3923968 bytes available on disk
  2343.  
  2344.       4096 bytes in each allocation unit
  2345.       2541 total allocation units on disk
  2346.        958 available allocation units on disk
  2347.  
  2348.     655360 bytes total memory
  2349.     545984 bytes available memory
  2350.  
  2351.  
  2352. On a JAM drive JCHKDSK displays more detailed report which includes
  2353. both Logical and Physical JAM drive parameters, Average Compression
  2354. Ratio, and Projected Free Space currently available.
  2355.  
  2356. Volume in drive H: is TEST
  2357. Volume Serial Number is 1B00-0F38
  2358.  
  2359.    JAM logical drive H:              JAM file: C:\TEST.JAM
  2360.  
  2361.   25534464 bytes total disk space    10213376 bytes total archive space
  2362.      57344 bytes in 2 hidden files      37376 bytes in 2 hidden files
  2363.      98304 bytes in 12 directories      98304 bytes in 12 directories
  2364.    7004160 bytes in 265 user files    4055552 bytes in 265 user files
  2365.   18374656 bytes available on disk    6022144 bytes free on archive
  2366.  
  2367.            58.82% average compression ratio (1.7:1)
  2368.   13303808 bytes projected free space
  2369.  
  2370.     655360 bytes total memory
  2371.     545984 bytes available memory
  2372.  
  2373.  
  2374. JAM 1.10  User's Guide                                           Page 53
  2375. ------------------------------------------------------------------------
  2376.  
  2377. Fixing disk errors
  2378.  
  2379. JCHKDSK will correct errors it finds if you specify the /F switch. If
  2380. you do not use the /F switch, JCHKDSK alerts you with a message if a
  2381. file needs to be fixed but does not fix the error(s). Detailed explana-
  2382. tions and recommendations on fixing all disk errors which JCHKDSK can
  2383. detect are given below in section Error Messages.
  2384.  
  2385. Using JCHKDSK with open files
  2386.  
  2387. Never use JCHKDSK when files are currently open. JCHKDSK is designed
  2388. for use when the files on the disk are in an unchanging state -- that
  2389. is, when they are not open. When a file is open, it is probably
  2390. changing, and DOS will update the file allocation table and the
  2391. directory structure to reflect changes. Such updates are not always
  2392. made immediately, and updates to the file allocation table and the
  2393. directories occur at different times. If you run JCHKDSK when files are
  2394. open on the disk, it interprets differences between the directory
  2395. structure and the file allocation tables as errors. Running JCHKDSK /F
  2396. when files are open may result in corruption or loss of data.
  2397. Therefore, never run JCHKDSK /F from another program, or when Windows,
  2398. DESQview, MS-DOS Task Switcher or DR-DOS 6.0 TaskMAX (Novell DOS 7
  2399. Task Manager) are running.
  2400.  
  2401. Using JCHKDSK with assigned drives and networks
  2402.  
  2403. The JCHKDSK utility does not work on drives formed by the SUBST or
  2404. ASSIGN commands. You cannot use JCHKDSK to check a disk on a network
  2405. drive.
  2406.  
  2407. Physical disk errors
  2408.  
  2409. Being run on a standard DOS drive, the JCHKDSK could find only logical
  2410. errors in the DOS file system, not physical disk errors.  Nevertheless,
  2411. being run on a JAM drive with /T switch, JCHKDSK could find also
  2412. physical errors on a Host Drive.
  2413.  
  2414. Bad disk sectors
  2415.  
  2416. Bad sectors reported by JCHKDSK were marked as "bad" when your disk was
  2417. first prepared for operation. Physical disk-error correction utilities
  2418. can also mark sectors as "bad." Bad sectors pose no danger.
  2419.  
  2420. ERRORLEVEL parameters
  2421.  
  2422. If JCHKDSK does not find any errors, it returns an ERRORLEVEL value
  2423. of 0. If JCHKDSK found one or more errors, it returns an ERRORLEVEL
  2424. value of 255.
  2425.  
  2426. Saving a JCHKDSK status report to a file
  2427.  
  2428. You can save a JCHKDSK status report by redirecting the output to a
  2429. file (located on any other disk drive, of course). Do not use the /F
  2430. switch when you redirect JCHKDSK output to a file.
  2431.  
  2432. JAM 1.10  User's Guide                                           Page 54
  2433. ------------------------------------------------------------------------
  2434.  
  2435. Examples
  2436.  
  2437. If you want to check the disk in drive A and have JCHKDSK fix any errors
  2438. encountered, type the following command:
  2439.  
  2440.     JCHKDSK A: /F
  2441.  
  2442.  
  2443. JCHKDSK pauses and displays messages if it encounters errors. Then it
  2444. may prompt you to specify how you want JCHKDSK to correct the errors.
  2445. JCHKDSK finishes by displaying a report showing the status of the disk.
  2446.  
  2447. To redirect the output of JCHKDSK to a file named STATUS, type the
  2448. following command:
  2449.  
  2450.     JCHKDSK A: > STATUS
  2451.  
  2452. Because the output is redirected, JCHKDSK does not repair errors it
  2453. encounters during the check; but it records all the errors in a report file.
  2454. Afterward, you can use JCHKDSK with the /F switch without redirection to
  2455. correct any errors noted in the status report.
  2456.  
  2457.  
  2458. Error messages
  2459.  
  2460.  1. Incorrect DOS version.
  2461.     PC-DOS/MS-DOS 3.30-7.0, DR-DOS 6.0, or Novell DOS 7 required.
  2462.  
  2463.  2. CPU Intel 80188/186+ or NEC V20/V30 required.
  2464.  
  2465.     See JAM driver errors #2,3 (Section 4.2) for comments.
  2466.  
  2467.  3. xxxxxxxxx has been detected.
  2468.     JCHKDSK cannot run in a multitasking environment.
  2469.     Please exit xxxxxxxxx and run JCHKDSK from the DOS command line.
  2470.  
  2471.     One of the following multitasking programs (xxxxxxxxxxxx)
  2472.     is running :
  2473.         OS/2
  2474.         Windows 3.xx in Enchanced mode
  2475.         Windows 3.0 in Real or Standard mode
  2476.         DESQview
  2477.         MS-DOS Task Switcher
  2478.         DR-DOS 6.0 TaskMAX
  2479.         Novell DOS 7 Task Manager
  2480.  
  2481.     Please exit your task switcher and run JCHKDSK from the DOS command
  2482.     line. If you start JCHKDSK /F from some other multitasking
  2483.     programs, you may lose data.
  2484.  
  2485. JAM 1.10  User's Guide                                           Page 55
  2486. ------------------------------------------------------------------------
  2487.  
  2488.  4. Invalid parameter: xxxxxx.
  2489.  
  2490.     Specified parameter (or switch) is not supported by JCHKDSK
  2491.     utility. Run JCHKDSK /? for help.
  2492.  
  2493.  5. Invalid drive specification x:
  2494.  
  2495.     Specified drive does not exist, or it was spelled incorrectly.
  2496.  
  2497.  6. Probable non-DOS disk.
  2498.  
  2499.     The JCHKDSK utility cannot analyze non-DOS drives (which have
  2500.     non-DOS file organization).
  2501.  
  2502.  7. Cannot check a network drive x:
  2503.  
  2504.     You cannot use JCHKDSK to check a disk on a network drive.
  2505.  
  2506.  8. Cannot check a SUBSTed or ASSIGNed drive x:
  2507.  
  2508.     The JCHKDSK utility does not work on drives formed by the SUBST
  2509.     or ASSIGN command. To check files on drive x:, deactivate SUBST
  2510.     (or ASSIGN) and run JCHKDSK on drive that was assigned to x:
  2511.     instead.
  2512.  
  2513.  9. There are open files on drive x:
  2514.  
  2515.     JCHKDSK has detected open files on drive x:.
  2516.     Please close all files on drive x: before running JCHKDSK.
  2517.  
  2518. 10. JAM drive %c: already locked.
  2519.  
  2520.     See JMOUNT error #13 (Section 4.3) for comments.
  2521.  
  2522. 11. Disk error #xxx: yyyyyyyyyyyyyyyyy
  2523.  
  2524.     An error occurred during direct reading from (writing to) the disk.
  2525.     The following list describes each of the values you may receive as
  2526.     xxx:
  2527.         13h = attempted write on write-protected disk
  2528.         14h = unknown unit ID
  2529.         15h = disk drive not ready
  2530.         16h = unknown command
  2531.         17h = disk data error (CRC error)
  2532.         18h = bad request structure length
  2533.         19h = disk seek error
  2534.         1ah = unknown disk media type
  2535.         1bh = disk sector not found
  2536.         1dh = write fault error
  2537.         1eh = read fault error
  2538.         1fh = general failure
  2539.  
  2540. JAM 1.10  User's Guide                                           Page 56
  2541. ------------------------------------------------------------------------
  2542.  
  2543. 12. Host drive hhh: error #xxx.
  2544.  
  2545.     An error reading (writing) physical drive has occurred. To minimize
  2546.     the data loss the following steps should be taken:
  2547.  
  2548.     1. Unmount all JAM drives with Archive Files on a defective disk.
  2549.     2. Run NDD, ScanDisk or other disk-repairing utility on your hard
  2550.        disk.
  2551.     3. Reboot your computer.
  2552.     4. Run JCHKDSK /F /T on your JAM drives.
  2553.  
  2554. 13. Invalid disk parameters in boot record.
  2555.  
  2556.     Some logical characteristics of your disk found in Boot Sector
  2557.     appear to be incorrect. JCHKDSK cannot perform further testing.
  2558.  
  2559. 14. Boot record / DOS DPB parameters mismatch.
  2560.  
  2561.     For no normal reason, disk parameters in Boot Record and in system
  2562.     memory are different. Try to reboot your computer and run JCHKDSK
  2563.     again.
  2564.  
  2565. 15. Invalid signature in boot record.
  2566.  
  2567.     The drive is missing End of Boot Record signature (55AAh).
  2568.     Run JCHKDSK/F to fix this problem.
  2569.  
  2570. 16. Media Descriptor Byte is invalid.
  2571.  
  2572.     The Media Descriptor Byte, located in the FAT, contains invalid
  2573.     information. The disk is either not a DOS disk or the Media
  2574.     Descriptor Byte has become corrupt.
  2575.  
  2576.     Use JCHKDSK with /F parameter to correct this value.
  2577.  
  2578. 17. The FAT copies are not the same
  2579.  
  2580.     Each copy of the File Allocation Table (FAT) should be exactly the
  2581.     same. If an error occurs while DOS is updating the FATs, they may
  2582.     get out of synchronization with each other, resulting in data loss.
  2583.  
  2584.     To check (correct) this situation you could run JCHKDSK with /C
  2585.     switch.
  2586.  
  2587. 18. Entry has a bad name 'xxxxxxxxxx'
  2588.  
  2589.     The directory has entry with invalid filename.
  2590.  
  2591. JAM 1.10  User's Guide                                           Page 57
  2592. ------------------------------------------------------------------------
  2593.  
  2594. 19. Entry has a duplicated name 'xxxxxxxxxx'
  2595.  
  2596.     The directory has entries in it which do NOT have unique filenames.
  2597.     You currently can access only the first entry in the directory
  2598.     which has the duplicated filename. To have access to second entry
  2599.     (file or directory) you should rename first one.
  2600.  
  2601. 20. Entry 'xxxxxxxxxx' has a bad attribute
  2602.  
  2603.     The sub-directory has entry with volume LABEL attribute is set.
  2604.     Run JCHKDSK with /F switch to correct this problem.
  2605.  
  2606. 21. Bad volume label 'xxxxxxxxxxx'
  2607.  
  2608.     Either the root directory has two or more entries marked as volume
  2609.     label, or entry xxxxxxxxxxx has non-zero length (or start cluster).
  2610.     Run JCHKDSK/F to convert this entry to file (or sub-directory).
  2611.  
  2612. 22. Sub-directory 'xxxxxxxxxxx' has a bad size
  2613.  
  2614.     The sub-directory has invalid length. JCHKDSK /F is able to
  2615.     correct this value.
  2616.  
  2617. 23. File 'xxxxxxxxxxx' is empty
  2618.  
  2619.     This warning may appear if you run JCHKDSK /E.  Some of such files
  2620.     could be left on your disk since system hangs, crashes, etc.  If /F
  2621.     switch also specified JCHKDSK prompts you to remove this file.
  2622.  
  2623. 24. Entry 'xxxxxxxxxx' has invalid first cluster
  2624.  
  2625.     File or directory has an invalid link to the File Allocation Table.
  2626.     JCHKDSK /F could only remove such entry. Nevertheless, if the FAT
  2627.     still has a valid allocation chain, JCHKDSK will assign to it a
  2628.     name like LOST0001.CHK in the root directory. See also JCHKDSK
  2629.     error #46 for further details.
  2630.  
  2631. 25. Entry 'xxxxxxxxxx', points into 'yyyyyyyyyyy'
  2632.  
  2633.     First cluster of entry xxxxxxxxxx points into disk area occupied by
  2634.     file yyyyyyyyyyyyyy. Use JCHKDSK /F to remove this entry. DO NOT
  2635.     use DOS's DEL command!
  2636.  
  2637. 26. File 'xxxxxxxxxxx' has a bad link
  2638.  
  2639.     File or directory xxxxxxxxxxx has an invalid link in FAT chain.
  2640.     If you specify the /F parameter, JCHKDSK will truncate this file at
  2641.     the last valid cluster.
  2642.  
  2643. JAM 1.10  User's Guide                                           Page 58
  2644. ------------------------------------------------------------------------
  2645.  
  2646. 27. File 'xxxxxxxxxxx' has a circular link
  2647.  
  2648.     Circular link found in file xxxxxxxxxxx. Use JCHKDSK /F to break
  2649.     the loop in FAT chain.
  2650.  
  2651. 28. Files 'xxxxxxxxxxx' and 'yyyyyyyyyyyy' are cross linked on
  2652.     allocation unit #zzzz.
  2653.  
  2654.     Files or directories are recorded as using the same disk space.
  2655.     JCHKDSK will not fix a cross-linked files, even if you specify the
  2656.     /F switch. To fix a cross-linked file, copy the specified files or
  2657.     directories elsewhere and delete the originals. Some of the
  2658.     information in these files may be lost.
  2659.  
  2660. 29. File 'xxxxxxxxxx' has too long FAT chain.
  2661.  
  2662.     The amount of space occupied by the file xxxxxxxxxxx (length of FAT
  2663.     chain) is far more than its size (value described in directory
  2664.     entry). You could either truncate FAT chain, or continue checking
  2665.     assuming that FAT has true information. In the second case you
  2666.     will get the next message.
  2667.  
  2668. 30. File 'xxxxxxxxxx' has invalid size.
  2669.  
  2670.     File size/ length of FAT chain mismatch. Use JCHKDSK /f to adjust
  2671.     file size to amount of space it is occupied on disk.
  2672.  
  2673. 31. Invalid '.' and '..' entries
  2674.  
  2675.     Either directory is totally empty, or it does not contain '.' and
  2676.     '..' entries, or information stored in them is not correct. Run
  2677.     JCHKDSK /F to reconstruct these entries.
  2678.  
  2679.     In a subdirectory, the first two entries, (.) and (..), are not
  2680.     really files, but part of DOS's bookkeeping.  They are pointers to
  2681.     where this subdirectory and its parent directory are on disk.
  2682.  
  2683.     The (.) file points to itself (its starting cluster is the same as
  2684.     the actual cluster location of the subdirectory "file" on the
  2685.     disk). The (..) file points to where it came from (its parent
  2686.     directory).
  2687.  
  2688. 32. Cannot recover '.' and '..' entries
  2689.  
  2690.     There is no space in a directory to add '.' and '..' entries. Try
  2691.     to remove at least two files in this directory and run JCHKDSK /F
  2692.     again.
  2693.  
  2694. JAM 1.10  User's Guide                                           Page 59
  2695. ------------------------------------------------------------------------
  2696.  
  2697. 33. Cluster #xxx (in file 'yyyyyyyyyy') has invalid size
  2698. 34. Cluster #xxx (in file 'yyyyyyyyyy') has invalid location
  2699. 35. Cluster #xxx (in file 'yyyyyyyyyy') has invalid compression level
  2700. 36. Cluster #xxx (in file 'yyyyyyyyyy') is cross linked
  2701.     on sectors #xxxx thru #yyyy in JAM archive
  2702.  
  2703.     Cluster has invalid parameters in JAM Descriptor Table.
  2704.     Use JCHKDSK /F to clear (physically deallocate) this cluster.
  2705.  
  2706.     If error #36 (physically cross-linked clusters) was detected, it is
  2707.     highly recommended to rerun JCHKDSK with /T switch to test clusters'
  2708.     readability. This will help you to select and clear only those
  2709.     clusters which actually are damaged (e.g. cannot be expanded).
  2710.  
  2711.     When the JAM driver detects any such an error itself (either during
  2712.     mounting an archive file, or during any file operation on a
  2713.     compressed drive) it returns to DOS the 'General Failure' error and
  2714.     switches this drive to read-only mode (to minimize the data
  2715.     corruption). So, whenever you find that your JAM drive is switched
  2716.     to read-only mode you should do the steps described for JMOUNT
  2717.     error #35.
  2718.  
  2719. 37. Cluster #xxx (in file 'yyyyyyyyyy') has not been undeleted
  2720.  
  2721.     Cluster which is logically allocated (e.g. has non-zero FAT value),
  2722.     has a [Deleted] flag set to ON in JAM Descriptor Table (see
  2723.     Appendix B. for details).
  2724.  
  2725.     Use JCHKDSK /F to correct this flag (or, in case if cluster cannot
  2726.     be undeleted -- to clear this cluster).
  2727.  
  2728. 38. Cluster #xxx (in file 'yyyyyyyyyy') has not been deleted
  2729.  
  2730.     Cluster which is logically deleted (e.g. has zero entry in FAT),
  2731.     has not a [Deleted] flag set to OFF in JAM Descriptor Table (e.g.
  2732.     occupies certain physical space).
  2733.  
  2734.     Run JCHKDSK /F to assign this cluster to file name like LOST0001 in
  2735.     the root directory (see also JCHKDSK error #46).
  2736.  
  2737. 39. Cluster #xxx (in file 'yyyyyyyyyy') has been mistaken for directory
  2738.  
  2739.     Cluster which is logically belong to a file, has a [Directory] flag
  2740.     set to ON in JAM Descriptor Table (see Appendix B. for details).
  2741.  
  2742. JAM 1.10  User's Guide                                           Page 60
  2743. ------------------------------------------------------------------------
  2744.  
  2745.     The JAM driver may set [Directory] flag to a non-subdirectory
  2746.     cluster only if:
  2747.          1. Data stored in this cluster have very similar structure to
  2748.             one which have the DOS directories,
  2749.     and
  2750.          2. This cluster (or whole file) was written on disk directly
  2751.             (e.g. not by standard DOS function).
  2752.  
  2753.     Use JCHKDSK /F to set this flag to off.
  2754.  
  2755. 40. Cluster #xxx (directory 'yyyyyyyyyy') has not been taken for directory
  2756.  
  2757.     Cluster which is actually a sub-directory, has a [Directory] flag
  2758.     set to OFF in JAM Descriptor Table.
  2759.  
  2760.     The JAM driver cannot set [Directory] flag to a sub-directory
  2761.     cluster only if this cluster has a bad structure. Probably, some
  2762.     sectors in it were corrupted. If this is in case (JCHKDSK shows
  2763.     series of errors like #18-#25, or #31), you should:
  2764.       1. Move all correct files from this directory on any other drive.
  2765.       2. Run JCHKDSK /F to remove all invalid entries in this
  2766.          subdirectory.
  2767.       3. Use DOS RD/MD commands to delete this subdirectory and create
  2768.          new with the same name.
  2769.       4. Move all saved files back.
  2770.  
  2771.     If JCHKDSK will find no defect in this subdirectory, you should
  2772.     ensure that there is at least 16K bytes of physical free space and
  2773.     simply move one of files from this subdirectory to any other one,
  2774.     and then -- back to this directory: the JAM driver will correct the
  2775.     [Directory] flag itself.
  2776.  
  2777. 41. Sub-directory 'xxxxxxxxxxxx' has not been allocated
  2778.  
  2779.     Cluster which is actually a sub-directory, has a [Allocated] flag
  2780.     set to OFF in JAM Descriptor Table (see Appendix B. for details).
  2781.  
  2782.     You may receive such situation, if you will try to create a
  2783.     subdirectory on a almost full JAM drive.
  2784.  
  2785.     Use DOS RD command or JCHKDSK/F to remove this subdirectory.
  2786.     If you want to create a correct subdirectory, you should be sure
  2787.     that there is at least 8K bytes of physical free space.
  2788.  
  2789. JAM 1.10  User's Guide                                           Page 61
  2790. ------------------------------------------------------------------------
  2791.  
  2792. 42. Sub-directory 'xxxxxxxxxxxx' has been compressed
  2793.  
  2794.     In normal conditions, the JAM driver does not compress subdirecto-
  2795.     ries. Moreover, if such subdirectory exists and you want to create
  2796.     or delete any file in it, the JAM driver will always try to expand
  2797.     and reallocate it before modifying its data.
  2798.  
  2799.     To force the JAM driver expand compressed subdirectory, you should
  2800.     free at least 16K bytes of physical space on the JAM drive and
  2801.     simply move one of files from this subdirectory to any other one,
  2802.     and then -- back to this directory.
  2803.  
  2804. 44. Cluster #100 (file 'xxxxxxxxxx') cannot be expanded
  2805.  
  2806.     Compressed data integrity error. You could either try to recover
  2807.     some data, which this cluster contains, or clear it.
  2808.  
  2809.     To recover the data you should copy file 'xxxxxxxxxx' on any other
  2810.     drive, by DOS COPY command, and on all messages like:
  2811.         'Unable to read data from drive x: (Abort,Ignore,Fail)?'
  2812.     answer 'I'- ignore. When this process finishes, you can examine
  2813.     this copy of the file to see if it contain any data you need.
  2814.  
  2815.  
  2816.     If /F switch specified, JCHKDSK will prompt you to clear this
  2817.     cluster. If you answer Y, JCHKDSK sets flag [Allocated] to OFF in
  2818.     JAM Descriptor Table. This flag will mean that this cluster
  2819.     consists of zeros (see Appendix B. for details). If you answer N,
  2820.     JCHKDSK keeps this cluster unchanged.
  2821.  
  2822. 45. Sub-directory 'xxxxxxxxxxxx' cannot be expanded
  2823.  
  2824.     Compressed subdirectory integrity error.
  2825.  
  2826.     In this case directory tree past this point will not be processed,
  2827.     and therefore, all files which were stored in it will be recognized
  2828.     as LOST chains.
  2829.  
  2830.     See also JCHKDSK errors #40-44 and #46 for comments.
  2831.  
  2832. 46. xxxxxx lost allocation unit(s) found in yyy chain(s).
  2833.     Convert lost chains to files?
  2834.  
  2835.     JCHKDSK found 'yyy' FAT chains which have not been assigned to
  2836.     directory entries, and therefore are inaccessible.
  2837.  
  2838. JAM 1.10  User's Guide                                           Page 62
  2839. ------------------------------------------------------------------------
  2840.  
  2841.     If you answer Y, CHKDSK collects the lost clusters into files with
  2842.     the name LOSTnnnn.CHK (where nnnn is a number between 0000 and
  2843.     9999) in the root directory.  As long as these files are not in
  2844.     binary format you may be able to look at them using the EDIT or
  2845.     the TYPE command, recover any valuable data they contain, and then
  2846.     delete them.
  2847.  
  2848.     If you answer N, CHKDSK frees the lost clusters so that they can be
  2849.     used when new files are created.
  2850.  
  2851. 47. There is no available entries in root directory.
  2852.     Overwrite deleted entries [Y/N] ?
  2853.  
  2854. 48. Insufficient room in root directory.
  2855.  
  2856.     Move some files from root directory and repeat JCHKDSK.
  2857.  
  2858. 49. Specified path not found.
  2859.  
  2860. 50. Specified file(s) not found.
  2861.  
  2862.     Specified location or name(s) of file(s) for JCHKDSK fragmentation
  2863.     analysis was spelled incorrectly.
  2864.  
  2865. JAM 1.10  User's Guide                                           Page 63
  2866. ------------------------------------------------------------------------
  2867.  
  2868.                          4.6. The JMAX utility
  2869.                       ---------------------------
  2870.  
  2871. Packs clusters compressed by the JAM driver tighter to give more
  2872. available space on selected JAM drive. JMAX also automatically
  2873. defragments and clears free space on the JAM drive.
  2874.  
  2875. Syntax
  2876.  
  2877.     JMAX [drive:] [/M[:]method] [/C]
  2878.  
  2879. Parameter
  2880.  
  2881. drive:
  2882.     Specifies the drive you want to defragment. This parameter is
  2883.     optional; if you do not specify a drive, JMAX recompresses and
  2884.     defragments the current drive.
  2885.  
  2886. Switches
  2887.  
  2888. /M
  2889.     Specifies an optimization method to use. If you omit this switch,
  2890.     or specify /M without parameter, JMAX uses the highest compression
  2891.     method available (see list below).
  2892.  
  2893.     The following list describes each of the values you can use for the
  2894.     method.
  2895.  
  2896.     0 - NO recompression (consolidate sectors only).
  2897.  
  2898.     1 - FAST (the 1st level) recompression. Provides 20-30% better
  2899.         compression ratio than algorithm built-in the JAM driver.
  2900.  
  2901.     2 - MAX (the 2nd level) recompression. This method allows you to
  2902.         get maximum compression ratio, but takes approximately twice
  2903.         more time than the 1-st method.
  2904.  
  2905. /C
  2906.     Clears free space only. This switch is useful with JAM drives
  2907.     working in Full UnDelete Compatible mode (see Section 4.3. /Notes).
  2908.  
  2909.  
  2910. JAM 1.10  User's Guide                                           Page 64
  2911. ------------------------------------------------------------------------
  2912.  
  2913. Notes
  2914.  
  2915. Difference between JMAX and standard Disk Defragmentation programs
  2916.  
  2917. Standard Disk Defragmentation programs (e.g. Gazelle Systems' OPTune,
  2918. Golden Bow's VOPT, Central Point Software's COMPRESS, Norton Utilities'
  2919. SPEEDISK, etc.) optimize disk performance by reorganizing the files on
  2920. a drive. You can use them to optimize uncompressed drives. Although
  2921. you can run them on a JAM drive, doing so will probably not improve
  2922. your system's speed.
  2923.  
  2924. Unlike these programs, the JMAX utility does not perform file-level
  2925. reorganization. JMAX recompresses and reorganizes compressed clusters
  2926. to give you more free space on the JAM drive. Nevertheless, such
  2927. optimization will also significantly speed-up the JAM drive (better
  2928. compressed data require less space to store on physical disk, but also
  2929. require less time to be expanded!).
  2930.  
  2931.  
  2932. Examples
  2933.  
  2934. To defragment drive D, you would type the following at the command
  2935. prompt:
  2936.  
  2937.     JMAX d:
  2938.  
  2939. To defragment the current drive, type the following command:
  2940.  
  2941.     JMAX
  2942.  
  2943.  
  2944. Error messages
  2945.  
  2946.  1. Invalid parameter: xxxxxx.
  2947.  
  2948.     Specified switch does not supported by JMAX utility. Run JMAX /?
  2949.     for help.
  2950.  
  2951.  2. CPU Intel 80188/186+ or NEC V20/V30 required.
  2952.  
  2953.  3. Incorrect DOS version.
  2954.     MS(PC)-DOS 3.30-7.XX, DR-DOS 6.0, or Novell DOS 7 required.
  2955.  
  2956.     See JAM driver errors #2,3 (Section 4.2) for comments.
  2957.  
  2958. JAM 1.10  User's Guide                                           Page 65
  2959. ------------------------------------------------------------------------
  2960.  
  2961.  4. OS/2 has been detected.
  2962.  
  2963.  5. Windows 3.xx in Enchanced Mode has been detected.
  2964.  
  2965.  6. Windows 3.0 in Real or Standard mode has been detected.
  2966.  
  2967.  7. DESQview has been detected.
  2968.  
  2969.  8. Task Switcher has been detected.
  2970.  
  2971.  9. DR-DOS 6.0 TaskMAX has been detected.
  2972.  
  2973. 10. Task Manager has been detected.
  2974.     JMAX cannot run in a multitasking environment.
  2975.  
  2976.     Please exit your task switcher and run JMAX from the DOS command
  2977.     line. If you start JMAX from some other multitasking programs, you
  2978.     may lose data.
  2979.  
  2980. 11. JAM driver not installed.
  2981.  
  2982. 12. Incorrect JAM driver version.
  2983.  
  2984. 13. Drive x: isn't a JAM device.
  2985.  
  2986. 14. JAM drive x: not mounted.
  2987.  
  2988. 15. JAM drive x: locked.
  2989.  
  2990. 16. Invalid boot record on JAM drive x:
  2991.  
  2992.     See JMOUNT errors #2,3,10,12,13,26 (Section 4.3.) for comments.
  2993.  
  2994. 17. JAM drive x: mounted read-only.
  2995.  
  2996.     JMAX cannot optimize read-only mounted JAM drives.
  2997.     Run JMOUNT /U x: to enable write on drive x:.
  2998.  
  2999. 18. Not enough memory.
  3000.  
  3001.     Not enough memory to read and analyze disk structures (JMAX tries
  3002.     to keep in memory FAT, JDT, and some additional tables. For example,
  3003.     to analyze the maximum possible JAM drive (512M bytes of logical
  3004.     space) JMAX needs approximately 512K bytes of conventional memory.).
  3005.  
  3006. JAM 1.10  User's Guide                                           Page 66
  3007. ------------------------------------------------------------------------
  3008.  
  3009. 19. Host drive error #xxxx.
  3010.  
  3011.     See JMOUNT error #23 (Section 4.3.) for comments.
  3012.  
  3013. 20. Cannot read sectors #xxx-yyy in file zzzzzzzzzzzzzzz
  3014.     JAM.SYS error #eeee
  3015.  
  3016. 21. Cannot write sectors #xxx-yyy in file zzzzzzzzzzzzzzz
  3017.     JAM.SYS error #eeee
  3018.  
  3019.     An error reading (writing) Host Drive is occurred. To minimize the
  3020.     data loss do the steps described for JMOUNT error #25.
  3021.  
  3022. 22. Cluster #xxxx has not been deleted
  3023. 23. Clusters #xxxx and #yyyy have the same FAT value
  3024. 24. Cluster #xxxx has not been undeleted
  3025. 25. Cluster #xxxx has invalid size
  3026. 26. Cluster #xxxx has invalid location
  3027. 27. Cluster #xxxx is a compressed subdirectory
  3028. 28. Cluster #xxxx compressed by unknown method
  3029. 29. Overlapped clusters #xxxx and #yyyy
  3030. 30. Cluster #xxxx has incorrect FAT value
  3031. 31. Data integrity error. Cluster #xxxx cannot be expanded.
  3032.  
  3033.     Allocation errors were detected on a JAM drive.
  3034.     Run JCHKDSK /F /T on drive x: first.
  3035.     See also JCHKDSK errors #33-45 for comments.
  3036.  
  3037. 32. ... -> JMAX aborted
  3038.  
  3039.     Control-c or control-break was pressed.
  3040.  
  3041.  
  3042. JAM 1.10  User's Guide                                           Page 67
  3043. ------------------------------------------------------------------------
  3044.  
  3045.       Chapter  5.  Guidelines for efficient use of the JAM Drives
  3046.     ===============================================================
  3047.  
  3048. This chapter highlights some of the techniques and considerations for
  3049. efficient use of the JAM drives, allowing you to take full advantage of
  3050. the JAM.
  3051.  
  3052.  
  3053. 1. Refrain from storing access-time sensitive data on the JAM drives.
  3054.  
  3055. Access-time sensitive data is defined as data to which access time is
  3056. most critical, and to which access should be as fast as possible.
  3057. Usually, a relatively large amount of access operations are performed
  3058. on such data in a limited period of time. Data in this category are:
  3059.  
  3060.   *  database index files: very high access rate; access
  3061.      time must be minimal.
  3062.  
  3063.   *  program overlay (or dynamically linked libraries) files (those
  3064.      having a file extension of .OVL, .OVR, or .DLL), as well as
  3065.      programs which contain internal overlays (big .EXE files):
  3066.      they are accessed many times during the execution of an
  3067.      application.
  3068.  
  3069.  
  3070. 2. Store data insensitive to access time on the JAM drives.
  3071.  
  3072. This category includes word-processing documents and spreadsheet files.
  3073. The access time for retrieving and saving such files is of lesser
  3074. importance, and in most cases with the JAM an increase in access time
  3075. is not even noticed -- while the benefit of data compression and space
  3076. saving is optimal.
  3077.  
  3078.  
  3079. 3. Store data with a high compression ratio on the JAM
  3080.  
  3081. Although there is no restriction whatsoever on the nature of the data
  3082. stored on the JAM drive, a basic understanding of the internal
  3083. functions of the JAM will assist you in the proper selection of data
  3084. suitable for storage.
  3085.  
  3086. The data compression algorithms used by the JAM are based upon the
  3087. Occurrence Rate of various characters (and strings of characters) in the
  3088. data file. The effective Compression Ratio becomes larger as the number
  3089. of similar characters, words and phrases in the file becomes greater.
  3090.  
  3091. JAM 1.10  User's Guide                                           Page 68
  3092. ------------------------------------------------------------------------
  3093.  
  3094. TEXT Files generally consist of a relatively small number of different
  3095. characters (i.e. the printable characters, spaces, punctuation marks,
  3096. etc.) with a relatively high occurrence rate. The vocabulary of them is
  3097. also quite predictable based on the kind of text. Also, DATABASE and
  3098. SPREADSHEET files typically contain many zeroes and spaces in a
  3099. relatively high occurrence rate, as well as many similar words and
  3100. numbers. These types of files have a high Compression Ratio potential.
  3101. Many GRAPHICAL files are also well-suited to data compression. This
  3102. includes CAD/CAM software, and many graphical storage formats used in
  3103. image processing, desktop publishing, and multimedia industry (except
  3104. for those already well-compressed file formats, for example, JPEG, GIF,
  3105. some TIFF files).
  3106.  
  3107. Therefore, when using a word-processor, database, or a spreadsheet
  3108. program, maintain your document library, your database directory,
  3109. or your spreadsheet directory on a JAM drive.
  3110.  
  3111. On the other hand, in program files (i.e. those with a file extension
  3112. of .EXE or .COM), most of the 256 possible characters (as well as 2-3
  3113. character combinations), may occur at a high rate. Therefore, these
  3114. files are regarded as having a low Compression Ratio potential.
  3115. There are exceptions: Windows programs usually contain resource data
  3116. (bitmaps, icons, text strings, etc.) bind into .EXE files; such
  3117. files also have high Compression Ratio potential.
  3118.  
  3119. When in doubt, you may copy a file to the JAM drive, using the DOS COPY
  3120. command. You may then use the JDIR utility to determine the exact
  3121. Compression Ratio. If the compression is not satisfactory, you could
  3122. try to recompress this drive (containing the copied file) by JMAX
  3123. utility, and run JDIR again. If the compression still is not
  3124. satisfactory, the copied file may be deleted from the JAM drive (or
  3125. from the source drive if the Compression Ratio is satisfactory).
  3126.  
  3127.  
  3128. 4. Use the JMAX utility.
  3129.  
  3130. By using the JMAX utility, you can optimally recompress your data
  3131. achieving even better kind of on-the-fly compression than ordinary
  3132. JAM driver does. Often, you are not just saving disk space because
  3133. of higher compression ratio - the access to JMAX-recompressed data
  3134. becomes a bit faster!
  3135.  
  3136. Also, the JMAX utility is quite smart - it would not do its job
  3137. for a second time. So, you can recompress your JAM drive on weekly
  3138. or even daily basis, not worrying about long time it takes to execute -
  3139. if you have changed only one file on your JAM disk, JMAX would
  3140. recompress only this file. See Chapter 4.6 for details on JMAX usage.
  3141.  
  3142.  
  3143. JAM 1.10  User's Guide                                           Page 69
  3144. ------------------------------------------------------------------------
  3145.  
  3146. 5. Use the DOS APPEND command.
  3147.  
  3148. The DOS APPEND command enables you to distribute your data files on
  3149. several disks and/or directories, yet access them in a completely
  3150. transparent manner as if all of your files were in one large disk/
  3151. directory. In this way, you may store some of your data files on the
  3152. JAM drive, your other files on a standard DOS disk, and use all of
  3153. your files as if they all reside in your current disk or directory.
  3154.  
  3155. Refer to your DOS manual for further information about the APPEND
  3156. command.
  3157.  
  3158.  
  3159. 6. Store seldomly used files on JAM drives.
  3160.  
  3161. Many users today hold large volumes of data on-line, on their
  3162. hard-disks, not willing to search for needed file on floppies or
  3163. streamer cassette. This is fine, but some rarely-used on-line
  3164. documentation or development toolkits can occupy quite a large portion
  3165. of your hard disk, thus competing for disk space with your heavy-used
  3166. data files. The one possible solution is to use file compression
  3167. (archiving) programs, such as PKZIP, ARJ, etc.  While these programs
  3168. are extremely useful as good space-savers, they also do have one big
  3169. disadvantage: you lose ability to work with your data transparently.
  3170. Instead, you should instantly pack and unpack them.
  3171.  
  3172. JAM offers a good compromise solution here: store such seldom-used
  3173. files on a compressed JAM drive. You lose some bit of disk space
  3174. comparing to file-archiving programs, but you would gain a transparent
  3175. DOS access for these files!  And on most 486-based machines, JAM drives
  3176. can be read FASTER than DOS ones. This is because you properly utilize
  3177. the horsepower of your CPU to help your disk drive.
  3178.  
  3179.  
  3180. JAM 1.10  User's Guide                                           Page 70
  3181. ------------------------------------------------------------------------
  3182.  
  3183.            Chapter  6.  F.A.Q. (Frequently Asked Questions)
  3184.          ====================================================
  3185.  
  3186. Q What does the name JAM mean?
  3187.  
  3188. A JAM, n. very thick sweet liquid made from fruit boiled and preserved
  3189.   in sugar, used esp. for spreading on bread.
  3190.   jam, v. 1. to pack, crush, or gather, tightly into a small space.
  3191.   2. To fill with people, cars, etc., so that movement is difficult
  3192.   or impossible. 3. ...
  3193.  
  3194.   Oops, just a short Longman quote. Well, it really means
  3195.   "JAM Archive Manager."
  3196.  
  3197.  
  3198. Q In simple terms, how does the JAM work?
  3199.  
  3200. A The JAM uses a certain portion (a large or small fraction, as
  3201.   determined by you) of the free space available on your hard disk
  3202.   drive.  The JAM creates on your hard disk drive (Host Drive) a new
  3203.   DOS drive called the JAM drive. This acts exactly like a standard DOS
  3204.   drive (allowing you to continue using DOS and application programs,
  3205.   as usual) -- however, with one significant difference: the JAM
  3206.   compresses the data written to the JAM drive (automatically and in a
  3207.   completely transparent manner), thereby reducing the amount of disk
  3208.   storage required to store your data, on average, by 60% (2.5:1)!  In
  3209.   other words, the JAM effectively enlarges the capacity of your hard
  3210.   disk.
  3211.  
  3212.  
  3213. Q Can the JAM actually enlarge the capacity of my disk drive with its
  3214.   existing data and programs?
  3215.  
  3216. A Yes! The JAM can provide you capability to effectively enlarge the
  3217.   capacity of your existing hard disk drive by saving, on the average
  3218.   60% of the storage required by DOS to store your files. The JAM will
  3219.   not affect your existing data and programs. (Until you copy these
  3220.   files to a JAM drive and delete them from the Host drive, the disk
  3221.   space required to store these existing programs and data will not be
  3222.   reduced.)
  3223.  
  3224.  
  3225. JAM 1.10  User's Guide                                           Page 71
  3226. ------------------------------------------------------------------------
  3227.  
  3228. Q Do I have to do anything to my existing software applications or data
  3229.   files to use the JAM?
  3230.  
  3231. A No. The JAM acts as a standard DOS drive and works in a completely
  3232.   transparent manner. Once it is loaded into memory (and this is done
  3233.   automatically when your computer is turned on), it does the work for
  3234.   you "in the background". As stated above, however, in order to reduce
  3235.   the storage capacity required for your existing data files they
  3236.   must be copied to a JAM drive.
  3237.  
  3238.  
  3239. Q Will the JAM affect the performance of my existing software
  3240.   applications?
  3241.  
  3242. A Yes, in some cases the JAM may affect the speed which your
  3243.   application software operates, however, it will not be noticeable to
  3244.   you, as it affects only the actual reading or writing of data to your
  3245.   hard disk. The overall effect is to a certain degree dependent upon
  3246.   the type of computer you are using (XT, 286 AT, or 386/486/Pentium
  3247.   AT). The slower the computer, the more noticeable any delay is; and
  3248.   your application software -- applications that are constantly
  3249.   updating data files -- may not be well suited for use with an JAM
  3250.   drive if you are using an XT (for example). Nevertheless, on modern
  3251.   i386/486 and Pentium computers the JAM drives usually work FASTER
  3252.   than original non-compressed DOS drives.
  3253.  
  3254. Q Do I need to format my hard disk to use the JAM?
  3255.  
  3256. A No. The JAM 1.10 creates the Compressed Drives as JAM Archives on
  3257.   your existing hard disk. The future versions will also compress whole
  3258.   hard disk partitions and floppy disks.  Please contact us for upgrade
  3259.   information.
  3260.  
  3261.  
  3262. Q Can I use the JAM drive as if it were a standard DOS disk?
  3263.  
  3264. A Yes, you may use ANY DOS command, you may create directories on your
  3265.   JAM drive, backup, restore, etc. The JAM User's Guide provides a
  3266.   complete explanation regarding the usage of the JAM with DOS.
  3267.  
  3268.  
  3269. JAM 1.10  User's Guide                                           Page 72
  3270. ------------------------------------------------------------------------
  3271.  
  3272. Q Since the JAM is always in memory ready to work transparently for me,
  3273.   it is using a certain portion of my available main memory. How much
  3274.   it is using?
  3275.  
  3276. A The JAM in its minimum configuration (i.e. only one JAM drive with 4K
  3277.   clusters, and minimum cache buffers) requires about 24Kb RAM resident
  3278.   memory. To support 8Kb cluster's drives JAM device driver requires
  3279.   32Kb of memory. Each additional active JAM drive requires a small
  3280.   additional amount of RAM (about 1.2Kb RAM per logical drive).
  3281.  
  3282.   Moreover, you can load the JAM driver into upper memory (by EMM386
  3283.   (from MS-DOS, DR-DOS, or Novell DOS), QEMM, 386MAX and other memory
  3284.   management software), thus, free some room in conventional memory
  3285.   used by DOS.
  3286.  
  3287.  
  3288. Q Will the JAM work on any kind of hard disk drive?
  3289.  
  3290. A Yes, the JAM should work on any type of hard disk with PC-DOS/MS-DOS
  3291.   3.30 - 7.0, DR-DOS 6.0, or Novell DOS 7 in use.
  3292.  
  3293.  
  3294. Q Will the JAM compress my RAM drive?
  3295.  
  3296. A Yes. The JAM can enlarge the capacity of your virtual RAM disk,
  3297.   providing you with more room for frequently executing programs and
  3298.   temporary files.
  3299.  
  3300.  
  3301. Q How does the JAM differ from other data compression utilities?
  3302.  
  3303. A Unlike most data compression utilities, which compress data on a
  3304.   file-by-file basis (thereby keeping the data offline), the JAM
  3305.   compresses the data on a sector-by-sector basis, enabling the JAM
  3306.   driver to always retain your data online and available to you.
  3307.  
  3308.  
  3309. Q How can I maximize my use of the JAM with my existing data and
  3310.   programs?
  3311.  
  3312. A 1. Create a JAM drive.
  3313.   2. Move your applications and data files to the JAM drive.
  3314.   3. Run JMAX utility on this drive
  3315.   4. For those program files (i.e. .EXE and .COM files) where the
  3316.      compression is less than satisfactory, you may move them back to
  3317.      the Host Drive.
  3318.  
  3319.  
  3320. JAM 1.10  User's Guide                                           Page 73
  3321. ------------------------------------------------------------------------
  3322.  
  3323.                         Appendix  A.  Glossary
  3324.                     ===============================
  3325.  
  3326.                             Physical Drives
  3327.  
  3328. Physical disk drives are magnetic storage media of a predefined
  3329. capacity and which range from several up to thousands megabytes.
  3330. A Physical Drive is usually connected to a disk controller which
  3331. constitutes a hardware link between the operating system and the
  3332. physical storage media.
  3333.  
  3334.  
  3335.                        Hard Disk Logical Drives
  3336.  
  3337. Physical Drives may be divided into logical Partitions of a predeter-
  3338. mined length using utilities such as the DOS FDISK, or various disk
  3339. management programs.  Each partition is assigned a Drive Name Letter
  3340. corresponding to one Logical Drive.
  3341.  
  3342.  
  3343.                               Host Drives
  3344.  
  3345. Host Drive is the JAM terminology for a Logical Drive on which JAM
  3346. Archive Files (see below) are created. Any Logical Drive (assigned to a
  3347. Hard Disk partition) can act as a Host Drive.
  3348.  
  3349.  
  3350.                    JAM Archive Files (or JAM Files)
  3351.  
  3352. With the JAM, you may allocate space on your Host Drive to create the
  3353. JAM Drive (see below).  This space will be presented as a file (called
  3354. JAM Archive File, or just JAM File) on your Host Drive. Being mounted
  3355. as a JAM Drive, a  JAM Archive will provide more storage capacity than
  3356. the amount of space it uses.
  3357.  
  3358.  
  3359.                   JAM Logical Drives (or JAM Drives)
  3360.  
  3361. Being installed the JAM device driver provides one or more additional
  3362. drives (called JAM Drives), which can represent compressed data in JAM
  3363. Archives as standard DOS Logical Drives.
  3364.  
  3365. JAM 1.10  User's Guide                                           Page 74
  3366. ------------------------------------------------------------------------
  3367.  
  3368.                          Sectors and Clusters
  3369.  
  3370. Information is recorded on a Logical Drive in units called sectors,
  3371. whose size is determined by the FORMAT utility during the formatting
  3372. process (the Sector length is usually equal to 512 bytes).
  3373.  
  3374. Thereafter, this length remains constant unless the Logical Drive is
  3375. reformatted. Furthermore, DOS groups the Sectors into Clusters, each
  3376. of which consist of an equal number of Sectors. The Cluster Size (i.e.
  3377. the number of sectors in a cluster) is also determined during the
  3378. formatting process.
  3379.  
  3380. While Sectors present a minimum chunk of information which can be read
  3381. from or written to a disk, Clusters define the minimum File Allocation
  3382. Unit.  The disk is allocated one cluster at a time to files and
  3383. directories.
  3384.  
  3385. Cluster number always refers to the data area of a disk (space reserved
  3386. for files and subdirectories). Valid cluster numbers always start at 2.
  3387. They correspond to entries in the File Allocation Table (see below).
  3388.  
  3389. On JAM drives clusters are INDEPENDENTLY COMPRESSED and allocated on
  3390. Host Drive as smaller groups of adjacent sectors. To match where these
  3391. groups are stored JAM uses additional table called JAM Descriptor Table
  3392. (see below).
  3393.  
  3394. The JAM driver supports clusters with logical size of 4K or 8K bytes
  3395. (i.e. 8 or 16 sectors).
  3396.  
  3397.  
  3398.                               Boot Record
  3399.  
  3400. The first sector of a DOS Logical Drive always contains a data structure
  3401. called the DOS Boot Record.  This contains such critical information as
  3402. Sector and Cluster Size, Reserved Sectors before FAT and Number of FAT
  3403. Copies, Entries in Root Directory, Total Sectors on disk, etc., that is
  3404. used by the system in accessing the media correctly.
  3405.  
  3406. A standard DOS Boot Record contains a short program that is executed
  3407. during system startup, which reads and executes the hidden system file,
  3408. IO.SYS (or IBMBIO.SYS).  If it can't locate this file, it typically
  3409. displays a message similar to:
  3410.     Non-System disk or disk error.
  3411.     Replace and strike any key...
  3412.  
  3413. The JAM Drives have some additional fields in Boot Record (refer to
  3414. Appendix B. for details), and to prevent its destruction by some system
  3415. transferring software (for example DOS's SYS.COM) the JAM driver
  3416. protects this disk area from writing.
  3417.  
  3418.  
  3419. JAM 1.10  User's Guide                                           Page 75
  3420. ------------------------------------------------------------------------
  3421.  
  3422.                     DOS File Allocation Table (FAT)
  3423.  
  3424. This is the part of DOS's bookkeeping system which maintains a record
  3425. of where on the disk each File is stored.
  3426.  
  3427. The technique is relatively simple. In the Directory Entry (see below)
  3428. for each File is a Starting Cluster value.  That cluster contains the
  3429. first part of the file's data.  If the file is more than one cluster,
  3430. the FAT tells DOS where to find the next bit of the file's data.
  3431.  
  3432. Each FAT cell identifies the next cluster occupied by the file's data.
  3433. It's usually easy to follow a chain:  for instance, FAT cell #2
  3434. contains a 3; #3 contains a 4, and so forth. The cell at the end of the
  3435. chain contains an End Of File marker (0FFF or 0FFFF hex value).
  3436.                        ______________________
  3437.                       +---------------------.|
  3438.                       |  Boot Sector        ||
  3439.                       |=====================||
  3440.                       |  FAT entries        ||
  3441.       ,----------------- #2:   ,--[ 3 ]<--------. ------
  3442.       |  ,-------------- #3:   `->[ 4 ]--.  ||  |   FAT chain
  3443.       |  |  ,----------- #4:      [EOF]<-'  ||  | ------
  3444.       |  |  | ...     |  ...............    ||  |
  3445.       |  |  |      ,---- #MaxCls: [ 0 ] --- ||  | - unused cluster
  3446.       |  |  | ...  |  |=====================||  |
  3447.       |  |  |      |  |  Root Directory     ||  |
  3448.       |  |  | ...  |  |  ...............    ||  |
  3449.       |  |  |      |  |  MYFILE.EXT  [2]--------' - Starting cluster number
  3450.       |  |  | ...  |  |  ...............    ||
  3451.       |  |  |      |  |=====================||
  3452.       |  |  | ...  |  |  Data Area          ||
  3453.       |  |  |      |  |---------------------||----------
  3454.       `----------------->Cluster #2:        ||      ^
  3455.          |  |      |  |  ...............    ||      Disk area where file
  3456.          `-------------->Cluster #3:        ||      MYFILE.EXT is recorded.
  3457.             |      |  |  ...............    ||      Allocated space is:
  3458.             `----------->Cluster #4:        ||        3 * ClusterSize = 24K
  3459.                    |  |  ...............    ||      v     (= 8K)
  3460.  StartSector =     |  |---------------------||----------
  3461.   DataStart +      |  |  ...............    ||
  3462.    ClusterNo *     `---->Cluster #MaxCls:   ||
  3463.     ClusterSize;      |  ...............    ||
  3464.                       +---------------------+
  3465.  
  3466. On JAM Drives File Allocation Table is an Incompressible object.  Its
  3467. location and number of its copies could be obtained from the JAM Drive
  3468. Boot Record.
  3469.  
  3470.  
  3471. JAM 1.10  User's Guide                                           Page 76
  3472. ------------------------------------------------------------------------
  3473.  
  3474.                        JAM Descriptor Table (JDT)
  3475.  
  3476. An additional table in the JAM Archive file which maintains allocation
  3477. information for each compressed Cluster. The JAM device driver uses
  3478. this data to determine where the cluster is stored and how many sectors
  3479. it has in a compressed form.
  3480.  
  3481. Each JDT cell has cluster's Flags ([Allocated], [Deleted], and
  3482. [Directory] bits), Location in compressed Data Area (Starting Sector
  3483. and the Number of Sectors values), and Compression method identifier.
  3484.                        ______________________
  3485.                       +---------------------.|
  3486.                       |  Boot Sector        ||
  3487.  Starting Sector,     |=====================||
  3488.  Number of Sectors    |  JDT entries:       ||
  3489.     ,------------------- #2:  [   0 ][ 5 ]<-----------. -----
  3490.     |  ,---------------- #3:  [   6 ][ 7 ]<--------.  |   JDT entries used
  3491.     |  |  ,------------- #4:  [  14 ][ 3 ]<-----.  |  | -----
  3492.     |  |  |           |  .................  ||  |  |  |
  3493.     |  |  |        ,---->#MaxCls:[ empty ]- ||  |  |  | - unallocated
  3494.     |  |  |        |  |=====================||  |  |  |   cluster
  3495.     |  |  |        |  |  FAT entries        ||  |  |  |
  3496.     |  |  |        |  |  #2:   ,--[ 3 ]<--------------+ -----
  3497.     |  |  |        |  |  #3:   `->[ 4 ]--. --------'  |   FAT chain
  3498.     |  |  |        |  |  #4:      [EOF]<-' -----'     | -----
  3499.     |  |  |        |  |  ...............    ||        |
  3500.     |  |  |        `---- #MaxCls: [ 0 ] --- || ------ | - unused cluster
  3501.     |  |  |           |=====================||        |
  3502.     |  |  |           |  Root Directory     ||        |
  3503.     |  |  |           |  ...............    ||        |
  3504.     |  |  |           |  MYFILE.EXT  [2]--------------' - Starting cluster
  3505.     |  |  |           |  ...............    ||            number
  3506.     |  |  |           |=====================||
  3507.     |  |  |           | Compressed Data Area||
  3508.     |  |  |           |---------------------||---------------
  3509.     `------------------->Data Sector #0     ||         ^
  3510.        |  |  ^ 5 + 1  |  ...............    ||         |
  3511.        |  |  v sectors|  ...............    ||      Archive area where file
  3512.        `---------------->Data Sector #6     ||      MYFILE.EXT is recorded.
  3513.           |  ^        |  ...............    ||      Allocated space is:
  3514.           |  | 7 + 1  |  ...............    ||       (5+1 + 7+1 + 3+1)
  3515.           |  v sectors|  ...............    ||        * SectorSize = 9K
  3516.           `------------->Data Sector #14    ||         |
  3517.              ^ 3 + 1  |  ...............    ||         v
  3518.              v sectors|---------------------||---------------
  3519.                       |  ...............    ||
  3520.                       +---------------------+
  3521.  
  3522. JAM 1.10  User's Guide                                           Page 77
  3523. ------------------------------------------------------------------------
  3524.  
  3525. The JAM Descriptor table is located between the Boot Sector and the
  3526. first FAT on a JAM archive. This area is also visible on a JAM logical
  3527. drive as an extension of the boot area. Like the Boot Record, JDT is
  3528. accessible to DOS and standard application programs in read-only mode.
  3529. Further detailed consideration, regarding the JAM internal structures
  3530. is presented in Appendix B.
  3531.  
  3532.  
  3533.                                  Files
  3534.  
  3535. The information in a Logical Drive is stored in units called Files. From
  3536. user's point of view, a file contains a specific set of data, such as a
  3537. document, spreadsheet, data base, program, etc.
  3538.  
  3539. DOS stores the files on your Logical Drives using an integral number of
  3540. Clusters. A File always starts at the Beginning of a new Cluster, and
  3541. occupies as many Whole Clusters as required to contain the entire
  3542. file, even if this means that the last Cluster remains almost
  3543. completely empty (and therefore, wasted). Such wasted space is called
  3544. Slack space, and it is typical that 10% to 30% of your hard disk is
  3545. Slack space.
  3546.  
  3547. On JAM Drives all Clusters of the File are independently compressed,
  3548. and allocated as a portions of adjacent Sectors. Such technique allows
  3549. you almost completely eliminate the Slack space, thereby providing a
  3550. major ancillary benefit.
  3551.  
  3552.                               Directories
  3553.  
  3554. These are the disk data areas that hold the bookkeeping information
  3555. about disk files. All DOS Logical Drives have at least one Directory,
  3556. the Root Directory, which is stored at an easy-to-find place at the
  3557. start the drive.
  3558.  
  3559. For each File, DOS maintains a Directory Entry. It contains the File's
  3560. Name, Size, the Date and Time when it was created or last modified,
  3561. File Attribute information, and the disk address where the first part
  3562. of the file data is stored.
  3563.  
  3564. Besides standard File Entries, a Directory might contain two other
  3565. types of entries. First, the Root Directory may contain a Volume Label.
  3566. (It is displayed when you type DIR or JDIR from the DOS prompt, but
  3567. serves merely as an identifier.)
  3568.  
  3569. The other type of entry is a Subdirectory Entry. These are critical to
  3570. the operation of DOS. Instead of describing the size and location of a
  3571. file, each points to another directory.
  3572.  
  3573. JAM 1.10  User's Guide                                           Page 78
  3574. ------------------------------------------------------------------------
  3575.  
  3576. In all but the Root Directory, there are two special Subdirectory
  3577. Entries, with the Filenames of "." and ".." (dot and dot-dot, as
  3578. they're called, or sometimes, "self" and "parent").  The "." entry
  3579. points to cluster containing this directory, while ".." entry points
  3580. back to the directory in which it is described. This system helps DOS
  3581. climb around the directory tree.
  3582.  
  3583. On JAM drives both root-directory and subdirectories are not compressed.
  3584. This solution provides high speed of directory access and make usage of
  3585. compressed devices more reliable.
  3586.  
  3587.  
  3588. JAM 1.10  User's Guide                                           Page 79
  3589. ------------------------------------------------------------------------
  3590.  
  3591.                 Appendix  B.  JAM technical information
  3592.              =============================================
  3593.  
  3594.                        B.1. JAM Drive Structure
  3595.  
  3596. On logical level the JAM devices have absolutely the same structure
  3597. as standard DOS disks. At the very beginning (sector # 0) they contain
  3598. standard Boot Record; next sectors represents one or two copies of DOS
  3599. File Allocation Table (FAT); then there are 4, 8, or 16 sectors of Root
  3600. Directory, and finally -- clusters of files and subdirectories on
  3601. logical disk.
  3602.  
  3603.   N  Disk area                 Size (in sectors)
  3604.  --- --------------------    ----------------------------
  3605.   1. Boot Sector(s)            ReservedSectors
  3606.  
  3607.   2. FAT#1 ... FAT#N           FatSize * FatCount
  3608.  
  3609.   3. Root Directory            (RootEntries * 32) /SectorSize
  3610.  
  3611.   4. Data Clusters.            MaxCluster * ClusterSize
  3612.  
  3613. But, such a standard disk layout is just a result of following DOS disk
  3614. structure conventions. Our main concern is about how the compressed
  3615. data is actually stored on disk.
  3616.  
  3617. The disk space is allocated by DOS in a units of clusters. To ensure
  3618. maximum speed and reliability, JAM driver compresses each cluster
  3619. independently. The size of compressed cluster can be different,
  3620. depending on the compression ratio and the amount of data actually
  3621. contained in the cluster (remember that file with size of 1 byte
  3622. occupies 1 cluster in DOS!).
  3623.  
  3624. To achieve actual space savings, JAM stores each compressed cluster in
  3625. a number of (continuous) physical disk sectors. So, to read a portion
  3626. of a file by its cluster number (given by DOS), JAM driver should find
  3627. where on the disk the compressed cluster is located, and what is its
  3628. size. To store such information, JAM needs a separate table for it.
  3629. This table is called the JAM Descriptor Table (JDT).  For each cluster
  3630. (either allocated or free), this table contains the cluster's compressed
  3631. size (in sectors), starting location (as a sector number), compression
  3632. method used, and some status flags.  This table is stored just before
  3633. first FAT, inside boot sectors.  (Normal DOS disks contain only 1
  3634. sector in Boot Sectors area. Therefore, this sector is often called
  3635. just a Boot Sector. The JAM uses this area to store a Boot Sector,
  3636. followed by JDT entries.)
  3637.  
  3638. JAM 1.10  User's Guide                                           Page 80
  3639. ------------------------------------------------------------------------
  3640.  
  3641. JAM Archive File structure:
  3642.  
  3643.   N  Area                      Size (in sectors)
  3644.  --- --------------------    ----------------------------
  3645.   1. Boot Sector               1
  3646.                              +
  3647.   2. JAM Descriptor Table      (MaxCluster * 4) /SectorSize
  3648.                              ------------------------------
  3649.                                ReservedSectors
  3650.  
  3651.   3. FAT#1 ... FAT#N           FatSize * FatCount
  3652.  
  3653.   4. Root Directory            (RootEntries * 32) /SectorSize
  3654.  
  3655.   5. Compressed Data Area.     MaxCluster * ClusterSize /ExpectedCompRatio
  3656.                                = CompDataSectors
  3657.  
  3658. The format of the JAM Drive Boot Sector (which is an extension over
  3659. standard DOS 4.0+ Boot Sector format) and JAM Descriptor Table is given
  3660. below.
  3661.  
  3662. Format of the JAM boot sector
  3663. Offset  Size    Description
  3664.  00h  3 BYTEs   near jump to start of boot code
  3665.  03h  8 BYTEs  *OEM company name and version ('JAM x.yy', x.yy - version)
  3666.  0Bh 25 BYTEs   extended BIOS parameter block (BPB)
  3667.  24h    BYTE    physical driver number (0 = floppy, 80 = hard disk)
  3668.  25h    BYTE    reserved
  3669.  26h    BYTE    extended boot record signature
  3670.  27h    DWORD   volume serial number
  3671.  2Bh 11 BYTEs   volume label
  3672.  36h  8 BYTEs   file system ID
  3673.  3Eh    DWORD  *compressed data area size (in sectors)
  3674.  42h  2 BYTEs  *reserved
  3675.  44h    DWORD  *original total number of sectors on drive \ before archive
  3676.  48h    DWORD  *original compressed data area size        / was shrinked
  3677.  4Ch 64 BYTEs  *encrypted password
  3678.  8Ch 370 BYTEs  boot code
  3679. 1FEh    WORD    end of boot sector signature (55AAh)
  3680.  
  3681. JAM 1.10  User's Guide                                           Page 81
  3682. ------------------------------------------------------------------------
  3683.  
  3684. Format of the JAM cluster descriptors
  3685. (4-bytes cells of the JAM Descriptor Table)
  3686. Offset  Size    Description
  3687.  00h    BYTE    cluster size (in sectors)
  3688.                     bits 0..3: cluster size - 1
  3689.                 flags (cluster type)
  3690.                     bit 4: reserved (always sets to 0)
  3691.                     bit 5: Directory
  3692.                     bit 6: Deleted
  3693.                     bit 7: Allocated
  3694.  01h    BYTE    starting sector number (high 4 bits)
  3695.                     bits 0..3: (starting sector >> 16) & 0Fh
  3696.                 compression level
  3697.                     bits 4..6:
  3698.                         0 - real-time compression
  3699.                             (built-in driver algorithm)
  3700.                         1 - normal compression
  3701.                         2 - maximum compression
  3702.                             (built-in JMAX algorithms)
  3703.                         3..7 - reserved
  3704.                 compression flag
  3705.                     bit 7: (0 - cluster stored/1 - compressed)
  3706.  02h    WORD    starting sector number (low word)
  3707.  
  3708. It should be noted that besides of cluster allocation information
  3709. (cluster size and starting sector number), descriptor also has several
  3710. flags which are used by the JAM driver to determine the type
  3711. and current status of the cluster.
  3712.  
  3713. When flag [Allocated] is set to 0, the cluster is considered EMPTY
  3714. (i.e. containing zeros), and the other parameters in descriptor are
  3715. ignored.
  3716.  
  3717. All clusters which have been written to the JAM drive (and therefore
  3718. use some physical space in JAM archive), must have [Allocated] flag set.
  3719.  
  3720. The flag [Deleted] is used to indicate that cluster was deleted.  When
  3721. DOS removes cluster (i.e. sets corresponding entry in FAT to 0), the
  3722. JAM driver sets [Deleted] flag to 1. Then if you run some UnDelete
  3723. utility (e.g. Central Point Software's Undelete, or Norton Utilities'
  3724. Unerase), JAM.SYS analyzes the integrity of data in this cluster, and
  3725. if they have not been overwritten, JAM driver sets the [Deleted] back
  3726. to 0, thus, making it possible to undelete files on JAM drives.
  3727.  
  3728. JAM 1.10  User's Guide                                           Page 82
  3729. ------------------------------------------------------------------------
  3730.  
  3731. The [Directory] flag means that cluster contains subdirectory
  3732. information. To make access to subdirectories more reliable and fast,
  3733. the JAM driver does not compress such clusters. Moreover, if (under no
  3734. normal reasons) compressed subdirectory exists, JAM.SYS will always
  3735. expand it automatically.
  3736.  
  3737. Finally, JAM descriptor contains information on the compression method
  3738. used to pack the cluster. Actually, the JAM system incorporates several
  3739. compression algorithms, which differ by compression ratio/speed
  3740. tradeoff. The JAM driver includes the fastest (real-time) algorithm,
  3741. which internal number is 0. Two other methods (slower, but better on
  3742. compression ratio) are built in JMAX utility (its numbers are
  3743. 1 and 2 respectively). The numbers 3..7 are reserved for future
  3744. algorithms.
  3745.  
  3746.  
  3747. JAM 1.10  User's Guide                                           Page 83
  3748. ------------------------------------------------------------------------
  3749.  
  3750.                         B.2. JAM device driver
  3751.  
  3752. In order to better understand how the JAM works, let us review how DOS
  3753. operates with your application software to read and write data on your
  3754. hard disk.
  3755.  
  3756. General Data Flow Control under DOS can best be illustrated as:
  3757.  
  3758.                     ,----------------------------.
  3759.                     |    Application Programs    |
  3760.                     `-------------/\-------------'
  3761. (1)                               ::
  3762.               ,-------------------\/-------------------.
  3763.               |               DOS Kernel               |
  3764.               `-------------------/\-------------------'
  3765. (2)                               ::
  3766.           ,-----------------------\/-----------------------.
  3767.           |               Disk Device Driver               |
  3768.           `-----------------------/\-----------------------'
  3769. (3)                               ::
  3770.                     ,-------------\/-------------.
  3771.                     |     Disk BIOS (Int 13h)    |
  3772.                     `-------------/\-------------'
  3773. (4)                               ::
  3774.                           ,-------\/-------.
  3775.                           |    Hard Disk   |
  3776.                           `----------------'
  3777.  
  3778. where:  Application  - is your software program;
  3779.  
  3780.         DOS Kernel - is a main part of the Disk Operating System;
  3781.  
  3782.         Disk Device Driver - is the system control program assigned by
  3783.                              DOS to interface to your hard disk device.
  3784.  
  3785. The reading of data from your hard disk consist of four steps:
  3786.  
  3787.     1.  Application <--> DOS Kernel
  3788.         Read data from hard disk C:
  3789.  
  3790.     2.  DOS Kernel <--> Device Driver for drive C:
  3791.         Read nn sectors starting at sector xxxx from logical drive #2
  3792.  
  3793.     3.  C:'s Device Driver <--> Disk BIOS
  3794.         Read nn sectors starting at <head hhh, track ttt, sector sss>
  3795.         from a hard disk
  3796.  
  3797.     4.  Disk BIOS <--> Hard disk
  3798.         Perform series of hardware-depended operations to read
  3799.         information recorded on a hard disk.
  3800.  
  3801. JAM 1.10  User's Guide                                           Page 84
  3802. ------------------------------------------------------------------------
  3803.  
  3804. The writing of data to your disk also consists of four steps:
  3805.  
  3806.     1.  Application <--> DOS Kernel
  3807.         Write data to hard disk C:
  3808.  
  3809.     2.  DOS Kernel <--> Device Driver for drive C:
  3810.         Write nn sectors starting at sector xxxx to logical drive #2
  3811.  
  3812.     3.  C:'s Device Driver <--> Disk BIOS
  3813.         Write nn sectors starting at <head hhh, track ttt, sector sss>
  3814.         to a hard disk
  3815.  
  3816.     4.  Disk BIOS <--> Hard disk
  3817.         Perform series of hardware-depended operations to record
  3818.         information on a hard disk.
  3819.  
  3820. The JAM reorganizes requests to the Hard Disk Device Driver, and acts
  3821. as the Device Driver for the JAM logical drive. In addition, the JAM
  3822. compresses (during write) and decompresses (during read) the data
  3823. written to or read from the JAM drive.
  3824.  
  3825. Data Flow Control when using the JAM can be (with some simplifications)
  3826. illustrated as:
  3827.  
  3828.      ,------------------------------------------.  ,,===================..
  3829.      |        User's Application Programs       |  ||   JAM Utilities   ||
  3830.      `--/\-----------------/\---------------/\--'  ``=/\================''
  3831. (1)     ::          (7)    ::          (9)  ::   (11) ::
  3832.  ,,=====\/======..  ,,=====\/======..  ,,===\/========\/=..  ,,=============..
  3833.  || JAM Int 21h ||  || JAM Int 24h ||  ||   JAM Int 2Fh  ||  || JAM Int 2Ah ||
  3834.  ``===/\===/\===''  ``===/\===/\===''  ``===/\======/\===''  ``===/\===/\===''
  3835. (2)   ::   ||       (8)  ::   ||       (10) ::      ||       (12) ::   ||
  3836.  ,----\/-----------------\/-----------------\/--------------------\/---------.
  3837.  |                                 DOS Kernel                                |
  3838.  `-------------------------------------/\------------------------------------'
  3839. (3)        ||                 ||       ::           ||                 ||
  3840.   ,,=======\/=================\/=======\/===========\/=================\/==..
  3841.   ||                               JAM Driver                              ||
  3842.   ``===================================/\==================================''
  3843. (4)                                    ::
  3844.               ,------------------------\/-----------------------.
  3845.               |                 Host Disk Driver                |
  3846.               `------------------------/\-----------------------'
  3847. (5)                                    ::
  3848.                          ,-------------\/-------------.
  3849.                          |        BIOS (Int 13h)      |
  3850.                          `-------------/\-------------'
  3851. (6)                                    ::
  3852.                                ,-------\/-------.
  3853.                                |    Hard Disk   |
  3854.                                `----------------'
  3855.  
  3856. JAM 1.10  User's Guide                                           Page 85
  3857. ------------------------------------------------------------------------
  3858.  
  3859. where: JAM Int 21h/24h/2Ah/2Fh  - are the JAM.SYS interrupt handlers
  3860.  
  3861.        JAM Driver - is a main part of the JAM.SYS program, which
  3862.                     simulates JAM Logical Drives
  3863.  
  3864.        JAM Utilities  - the others programs used the JAM API interface
  3865.                         (see the next section for details)
  3866.  
  3867. The reading of data from your JAM drive consist of six steps:
  3868.  
  3869.     1.  Application <--> JAM Int 21h
  3870.         Read data from the JAM drive J:.
  3871.         JAM Int 21h tracer simply passes request to the DOS kernel (and
  3872.         forwards the DOS error code back to Application).
  3873.  
  3874.     2.  JAM Int 21h <--> DOS Kernel
  3875.         Read data from the JAM drive J:.
  3876.  
  3877.     3.  DOS Kernel <--> J:'s JAM Driver
  3878.         Read nn sectors starting at sector xxxx from JAM logical drive.
  3879.  
  3880.         JAM driver analyses JDT to find location of the compressed data
  3881.         on JAM archive, calls the Host Disk driver to read them,
  3882.         decompresses them and passes back to DOS Kernel for application
  3883.         program.
  3884.  
  3885.     4.  J:'s JAM Driver <--> Host Disk (C:)'s Device Driver
  3886.         Read nn sectors starting at sector xxxx from hard disk logical
  3887.         drive #2
  3888.  
  3889.     5.  Host Disk (C:)'s Device Driver <--> Disk BIOS
  3890.         Read nn sectors starting at <head hhh, track ttt, sector sss>
  3891.         from a hard disk
  3892.  
  3893.     6.  Disk BIOS <--> Hard disk
  3894.         Perform series of hardware-depended operations to read
  3895.         information recorded on a hard disk.
  3896.  
  3897. The writing of data to your JAM drive also consists of six (main) steps:
  3898.  
  3899.     1.  Application <--> JAM Int 21h
  3900.         Write data to the JAM drive J:.
  3901.  
  3902.         JAM Int 21h tracer passes request to the DOS kernel. When DOS
  3903.         finishes this operation, JAM Int 21h tracer analyzes state of
  3904.         the JAM drive, and if it is needed (for example, when archive
  3905.         file is almost full) -- calls DOS and JAM driver again to flush
  3906.         its buffers (to perform file system synchronization).  Finally,
  3907.         JAM Int 21h tracer forwards the DOS error code back to
  3908.         Application.
  3909.  
  3910.     2.  JAM Int 21h <--> DOS Kernel
  3911.         Write data on the JAM drive J:.
  3912.  
  3913. JAM 1.10  User's Guide                                           Page 86
  3914. ------------------------------------------------------------------------
  3915.  
  3916.     3.  DOS Kernel <--> J:'s JAM Driver
  3917.         Write nn sectors starting at sector xxxx on JAM logical drive.
  3918.  
  3919.         JAM driver splits requested sectors area [xxxx..xxxx+nn] on
  3920.         series of logical clusters [yy..yy+m] which cover this region.
  3921.         For each cluster, JAM.SYS gets corresponding JDT entry to
  3922.         determine if the cluster was already written (allocated) on
  3923.         disk, and its allocation parameters. In case if cluster was
  3924.         already allocated and JAM.SYS should modify only part of it,
  3925.         the clusters data will be read, then expanded (if it was stored
  3926.         in a compressed form), updated, compressed again, and finally
  3927.         -- physically written on archive. If the cluster is empty, or
  3928.         JAM.SYS should modify all its sectors, the cluster's data will
  3929.         be simply compressed and written on archive.  To write data on
  3930.         archive (or to read them from), the JAM driver calls the Host
  3931.         Disk driver.
  3932.  
  3933.     4.  J:'s JAM Driver <--> Host Disk (C:)'s Device Driver
  3934.         Write nn sectors starting at sector xxxx to hard disk logical
  3935.         drive #2
  3936.  
  3937.     5.  C:'s Device Driver <--> Disk BIOS
  3938.         Write nn sectors starting at <head hhh, track ttt, sector sss>
  3939.         to a hard disk
  3940.  
  3941.     6.  Disk BIOS <--> Hard disk
  3942.         Perform series of hardware-depended operations to record
  3943.         information on a hard disk.
  3944.  
  3945. Some additional steps will be taken when current write request cannot
  3946. be successfully performed. For example, JAM Int 24h tracer may be
  3947. activated (steps 7 and 8) to handle an Archive Overflow exception
  3948. accurately (there is no corresponding device error code in DOS, except
  3949. for MS-DOS 6.0+).
  3950.  
  3951. The JAM Int 2Ah/2Fh (and several others) tracers are used to solve some
  3952. compatibility problems (for example, to tell SMARTdrive cache utility
  3953. that JAM drives are non-cacheable), and to represent an interface to the
  3954. other JAM utility programs (see the next section for details).
  3955.  
  3956.  
  3957. JAM 1.10  User's Guide                                           Page 87
  3958. ------------------------------------------------------------------------
  3959.  
  3960.                     B.3. JAM Application Interface
  3961.  
  3962. The following functions can be used by application programs to work
  3963. with the JAM drives. Current version (1.10) of JAM.SYS supports 8
  3964. functions, accessed as INT 2Fh/AX=5200...5207h. Functions
  3965. AX=5208..521F are reserved for future versions of the JAM.
  3966.  
  3967. --------d-2F5200-----------------------------
  3968. INT 2F - JAM.SYS 1.10 - "GetVersion" - INSTALLATION CHECK
  3969.         AH = 52h
  3970.         AL = 00h
  3971. Return: AH = 80h (successful)
  3972.         BX = internal JAM.SYS version number
  3973.         CX = size of JAMINFO structure (see below)
  3974.         DX = JAM.SYS segment address
  3975. Program: JAM.SYS is a main component of the JAM Real-Time Data Compression
  3976.         Utilities by George A. Reznik and friends (JAM Software).
  3977. SeeAlso: AX=5201h
  3978.  
  3979. Format of JAMINFO structure:
  3980. Offset  Size    Description
  3981.  00h 25 BYTEs   extended BIOS parameter block (BPB)
  3982.  25h    DWORD   total number of sectors in JAM archive file
  3983.                 (size of compressed data area)
  3984.  29h    BYTE    flags
  3985.                 bit 7: full undelete-compatible allocation strategy
  3986.                 bit 6: no write-behind caching
  3987.                 bit 5: read-only mode
  3988.                 bit 4: enable direct write requests
  3989.                        (Int 26h, non-DOS requests, etc.)
  3990.                 bits 3..0 are reserved for internal use
  3991.  2Ah 127 BYTEs  full JAM archive file name
  3992.  A9h    WORD    the number of fragments in archive file
  3993.  ABh 96 BYTEs   archive file fragmentation list -
  3994.                 array of 16 FRAGMENT structures:
  3995.                 Offset  Size    Description
  3996.                  00h    WORD    starting sector (low word)
  3997.                  02h    BYTE    starting sector (high byte)
  3998.                  03h    WORD    size of fragment (low word)
  3999.                  05h    BYTE    size of fragment (high byte)
  4000. 10Bh    DWORD   address of the host-drive DPB (Drive Parameter Block)
  4001. 10Fh    DWORD   number of free sectors in JAM archive file
  4002. 113h    WORD    device status word (see below)
  4003.  
  4004.  
  4005. JAM 1.10  User's Guide                                           Page 88
  4006. ------------------------------------------------------------------------
  4007.  
  4008. Values for status (high byte, low is DOS error code for Host drive):
  4009.  00h  successful
  4010.  01h  drive is not a JAM drive
  4011.  02h  drive is already attached
  4012.  03h  archive file cluster size value is larger than driver's one
  4013.  04h  drive is not attached
  4014.  05h  drive is locked
  4015.  06h  drive is not locked
  4016.  07h  bad physical-level request
  4017.  08h  host drive reading/writing error
  4018.  09h  bad entries in JAM descriptor table
  4019.  0ah  compressed data integrity error
  4020.  0bh  archive file overflow
  4021.  0ch  bad DOS request
  4022.  0dh  incorrect parameters in JAMINFO structure
  4023.  
  4024. --------d-2F5201-----------------------------
  4025. INT 2F - JAM.SYS 1.10 - "GetInfo" - GET COMPRESSED DRIVE INFORMATION
  4026.         AH = 52h
  4027.         AL = 01h
  4028.         DL = compressed drive number (0-default, 1-A:, etc.)
  4029.         DS:BX -> buffer for JAMINFO structure (see above)
  4030. Return: AH = status (see also above)
  4031.             00h successful
  4032.             01h drive is not a JAM drive
  4033. SeeAlso: AX=5200h
  4034.  
  4035. --------d-2F5202-----------------------------
  4036. INT 2F - JAM.SYS - "Attach" - MOUNT COMPRESSED DRIVE
  4037.         AH = 52h
  4038.         AL = 02h
  4039.         DL = drive number (0-default, 1-A:, etc.)
  4040.             to attach to the JAM archive file
  4041.         DS:BX -> pointer to JAMINFO structure (see above), which
  4042.             contains parameters of the JAM file to mount, and pointer
  4043.             to the host drive DPB (i.e. DPB of the drive on which the
  4044.             JAM file is located)
  4045. Return: AH = status (see also full list above)
  4046.             00h successful
  4047.             02h drive already attached
  4048.             03h archive file cluster size value is larger than driver's
  4049.                 one - not mounted
  4050.             08h host drive reading error (while building allocation
  4051.                 list)
  4052.             09h bad entries in JAM descriptor table - file mounted
  4053.                 read-only
  4054.             0dh incorrect parameters in JAMINFO structure
  4055.         AL = host drive error code (see DOS device error codes)
  4056. SeeAlso: AX=5203h
  4057.  
  4058. JAM 1.10  User's Guide                                           Page 89
  4059. ------------------------------------------------------------------------
  4060.  
  4061. --------d-2F5203-----------------------------
  4062. INT 2F - JAM.SYS 1.10 - "Detach" - UNMOUNT COMPRESSED DRIVE
  4063.         AH = 52h
  4064.         AL = 03h
  4065.         DL = drive number (0-default, 1-A:, etc.) to detach
  4066. Return: AH = status (see also full list above)
  4067.             00h successful
  4068.             01h drive is not a JAM drive
  4069.             04h drive already detached
  4070.             05h drive locked
  4071.             08h host drive reading/writing error (while flushing
  4072.             buffers)
  4073.             09h bad entries in JAM descriptor table
  4074.             0bh archive file overflow
  4075.             0dh incorrect parameters in drive's JAMINFO structure
  4076.         AL = host drive error code (see DOS device error codes)
  4077. SeeAlso: AX=5202h
  4078.  
  4079. --------d-2F5204-----------------------------
  4080. INT 2F - JAM.SYS 1.10 - "Lock" - LOCK COMPRESSED DRIVE
  4081.         AH = 52h
  4082.         AL = 04h
  4083.         DL = drive number (0-default, 1-A:, etc.) to lock
  4084. Return: AH = status (see also full list above)
  4085.             00h successful
  4086.             01h drive is not a JAM drive
  4087.             04h drive is not attached
  4088.             05h drive already locked
  4089.             08h host drive reading/writing error (while flushing
  4090.             buffers)
  4091.             09h bad entries in JAM descriptor table
  4092.             0bh archive file overflow
  4093.             0dh incorrect parameters in drive's JAMINFO structure
  4094.         AL = host drive error code (see DOS device error codes)
  4095. SeeAlso: AX=5205h, AX=5206h, AX=5207h
  4096.  
  4097. --------d-2F5205-----------------------------
  4098. INT 2F - JAM.SYS 1.10 - "UnLock" - UNLOCK COMPRESSED DRIVE
  4099.         AH = 52h
  4100.         AL = 05h
  4101.         DL = drive number (0-default, 1-A:, etc.) to unlock
  4102. Return: AH = status (see also full list above)
  4103.             00h successful
  4104.             01h drive is not a JAM drive
  4105.             04h drive is not attached
  4106.             06h drive is not locked
  4107.             08h host drive reading error (while rebuilding allocation
  4108.             list)
  4109.             09h bad entries in JAM descriptor table
  4110.             0dh incorrect parameters in drive's JAMINFO structure
  4111.         AL = host drive error code (see DOS device error codes)
  4112. SeeAlso: AX=5204h, AX=5206h, AX=5207h
  4113.  
  4114. JAM 1.10  User's Guide                                           Page 90
  4115. ------------------------------------------------------------------------
  4116.  
  4117. Note:   Lock and UnLock functions were added to the JAM API to prevent
  4118.         asynchronous physical-level access (see AL=06/07) to compressed
  4119.         data on JAM drives. In other words, two or more programs which
  4120.         use JAM API (say, JMAX optimizer and JCHKDSK - disk checker)
  4121.         cannot be run on the same JAM drive simultaneously.
  4122.  
  4123. --------d-2F5206-----------------------------
  4124. INT 2F - JAM.SYS 1.10 - "Read" - PHYSICAL READ DATA FROM JAM ARCHIVE
  4125.         AH = 52h
  4126.         AL = 06h
  4127.         DL = drive number (0-default, 1-A:, etc.)
  4128.         DS:BX -> disk transfer packet (see below)
  4129. Return: AH = status (see also full list above)
  4130.             00h successful
  4131.             01h drive is not a JAM drive
  4132.             04h drive is not attached
  4133.             06h drive is not locked
  4134.             07h bad request (parameters in transfer packet)
  4135.             08h host drive reading error
  4136.             0dh incorrect parameters in drive's JAMINFO structure
  4137.         AL = host drive error code (see DOS device error codes)
  4138. SeeAlso: AX=5207h
  4139.  
  4140. Format of disk transfer packet:
  4141. Offset  Size    Description
  4142.  00h    DWORD   sector number
  4143.  04h    WORD    number of sectors to read(write)
  4144.  06h    DWORD   transfer address
  4145.  
  4146. --------d-2F5207-----------------------------
  4147. INT 2F - JAM.SYS 1.10 - "Write" - PHYSICAL WRITE DATA TO JAM ARCHIVE
  4148.         AH = 52h
  4149.         AL = 07h
  4150.         DL = drive number (0-default, 1-A:, etc.)
  4151.         DS:BX -> disk transfer packet (see above)
  4152. Return: AH = status (see also above)
  4153.             00h successful
  4154.             01h drive is not a JAM drive
  4155.             04h drive is not attached
  4156.             06h drive is not locked
  4157.             07h bad request (parameters in transfer packet)
  4158.             08h host drive writing error
  4159.             0dh incorrect parameters in drive's JAMINFO structure
  4160.         AL = host drive error code (see DOS device error codes)
  4161. SeeAlso: AX=5206h
  4162.  
  4163. ---------------------------------------------
  4164.  
  4165.  
  4166. JAM 1.10  User's Guide                                           Page 91
  4167. ------------------------------------------------------------------------
  4168.  
  4169.  
  4170.                               I n d e x
  4171.                             =============
  4172.  
  4173. +---+
  4174. | A |
  4175. +---+
  4176.  
  4177.     AUTOEXEC.BAT  . . . . . . . . . . . . . . . . . . 12, 28, 28, 44, 45
  4178.     Access-time Insensitive Data  . . . . . . . . . . . . . . . . . . 67
  4179.         Sensitive Data  . . . . . . . . . . . . . . . . . . . . . . . 67
  4180.     Actual Capacity . . . . . . . . . . . . . . . . . . . . . . . . . 10
  4181.     Allocation Buffers  . . . . . . . . . . . . . . . . . . . . . 27, 28
  4182.         Errors  . . . . . . . . . . . . . . . . . 49, 53, 57, 58, 59, 66
  4183.         Strategies  . . . . . . . . . . . . . . . . . . . . . . . . . 34
  4184.     Archive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
  4185.         File  . . . . . . . . . . . . . . . . . . . . . . . . . .  9, 13
  4186.     Average Compression Ratio . . . . . . . . . . . . . . . . . . . . 52
  4187.  
  4188. +---+
  4189. | B |
  4190. +---+
  4191.  
  4192.     BIOS Device error codes . . . . . . . . . . . . . . . . . . . . . 48
  4193.     Bad Sectors . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
  4194.     Basic Concepts of the JAM . . . . . . . . . . . . . . . . . . . .  9
  4195.     Boot Record . . . . . . . . . . . . . . . . . . . . . . . 56, 74, 80
  4196.         Sector  . . . . . . . . . . . . . . . . . . . . . . . . . 74, 80
  4197.     Buffers for Allocation information  . . . . . . . . . . . . . 27, 28
  4198.             Compressed Clusters . . . . . . . . . . . . . . . . . 27, 28
  4199.  
  4200. +---+
  4201. | C |
  4202. +---+
  4203.  
  4204.     CONFIG.SYS  . . . . . . . . . . . . . . . . . . . 14, 24, 27, 28, 28
  4205.     CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
  4206.         80188/186+  . . . . . . . . . . . . . . . . . . . . . . . . . 30
  4207.         I80386/I80486/Pentium . . . . . . . . . . . . . . . . . . . . 30
  4208.         NEC V20/V30 . . . . . . . . . . . . . . . . . . . . . . . . . 30
  4209.     Cache Built-in JAM driver . . . . . . . . . . . . . . . . . . . . 28
  4210.     Capacity Logical  . . . . . . . . . . . . . . . . . . . . . . . .  9
  4211.         Physical  . . . . . . . . . . . . . . . . . . . . . . . . . .  9
  4212.         Projected . . . . . . . . . . . . . . . . . . . . . . . . . .  9
  4213.     Cluster . . . . . . . . . . . . . . . . . . . . . . . 17, 22, 23, 74
  4214.         Size  . . . . . . . . . . . . . . . . . . . . . . . . . . 23, 27
  4215.     Compression . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
  4216.         Methods . . . . . . . . . . . . . . . . . . . . . . . . . 63, 82
  4217.         Ratio . . . . . . . . . .  8, 16, 17, 18, 40, 43, 52, 63, 67, 82
  4218.             Anticipated . . . . . . . . . . . . . . . . . . . . . . . 22
  4219.             Average . . . . . . . . . . . . . . . . . . . . . . . . . 52
  4220.             Potential . . . . . . . . . . . . . . . . . . . . . . 67, 68
  4221.     Control direct write requests . . . . . . . . . . . . . . . . . . 33
  4222.     Cross-linked Clusters . . . . . . . . . . . . . . . . . . . . . . 59
  4223.  
  4224. JAM 1.10  User's Guide                                           Page 92
  4225. ------------------------------------------------------------------------
  4226.  
  4227.         Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
  4228.  
  4229. +---+
  4230. | D |
  4231. +---+
  4232.  
  4233.     DIRCMD variable . . . . . . . . . . . . . . . . . . . . . . . . . 45
  4234.     DOS APPEND command  . . . . . . . . . . . . . . . . . . . . . . . 69
  4235.         ASSIGN command  . . . . . . . . . . . . . . . . . . . . . . . 53
  4236.         ATTRIB command  . . . . . . . . . . . . . . . . . . . . . . . 23
  4237.         COPY command  . . . . . . . . . . . . . . . . . . . . . . . . 15
  4238.         DEL command . . . . . . . . . . . . . . . . . . . . . . . . . 15
  4239.         DEVICE command  . . . . . . . . . . . . . . . . . . . . . . . 27
  4240.         DEVICEHIGH command  . . . . . . . . . . . . . . . . . . . . . 27
  4241.         DIR command . . . . . . . . . . . . . . . . . . . . . . . 15, 40
  4242.         Device error codes  . . . . . . . . . . . . . . . . . . . . . 47
  4243.         EDIT command  . . . . . . . . . . . . . . . . . . . . . . . . 12
  4244.         File Allocation Table . . . . . . . . . . . . . . . . . . . . 75
  4245.         Kernel  . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
  4246.         PATH command  . . . . . . . . . . . . . . . . . . . . . . . . 13
  4247.         SUBST command . . . . . . . . . . . . . . . . . . . . . . . . 53
  4248.         Version . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
  4249.         Wildcards . . . . . . . . . . . . . . . . . . . . . . . . . . 44
  4250.     Data Buffers  . . . . . . . . . . . . . . . . . . . . . . . . 27, 28
  4251.     Defragmentation Utilities . . . . . . . . . . . . . . . . 19, 23, 64
  4252.     DirectWrite flag  . . . . . . . . . . . . . . . . . . . . . . 20, 33
  4253.     Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
  4254.     Disk cache Built-in JAM driver  . . . . . . . . . . . . . . . . . 29
  4255.             External  . . . . . . . . . . . . . . . . . . . . . . . . 29
  4256.     Drive Logical . . . . . . . . . . . . . . . . . . . . . . . . . . 73
  4257.         Physical  . . . . . . . . . . . . . . . . . . . . . . . . . . 73
  4258.  
  4259. +---+
  4260. | E |
  4261. +---+
  4262.  
  4263.     External disk cache utilities . . . . . . . . . . . . . . . . . . 29
  4264.  
  4265. +---+
  4266. | F |
  4267. +---+
  4268.  
  4269.     FAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56, 75
  4270.         Chain . . . . . . . . . . . . . . . . . . . . . . . . . . 56, 75
  4271.         Copies  . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
  4272.         Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
  4273.     File  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
  4274.         Allocation Errors . . . . . . . . . . . . 49, 53, 57, 58, 59, 66
  4275.         Attributes  . . . . . . . . . . . . . . . . . . . . . . . 23, 41
  4276.         Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . 43
  4277.     Free Space  . . . . . . . . . . . . . . . . . . . . . . . . . 18, 52
  4278.             Logical . . . . . . . . . . . . . . . . . . . . . . . 18, 52
  4279.             Physical  . . . . . . . . . . . . . . . . . . . . . . 18, 52
  4280.             Projected . . . . . . . . . . . . . . . . . . . . 10, 18, 52
  4281.  
  4282. JAM 1.10  User's Guide                                           Page 93
  4283. ------------------------------------------------------------------------
  4284.  
  4285. +---+
  4286. | G |
  4287. +---+
  4288.  
  4289.     Getting Started With the JAM  . . . . . . . . . . . . . . . . . . 11
  4290.     Glossary  . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
  4291.  
  4292. +---+
  4293. | H |
  4294. +---+
  4295.  
  4296.     Hard Disk Logical Drive . . . . . . . . . . . . . . . . . . . . . 73
  4297.     Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . 11
  4298.     Host Drive  . . . . . . . . . . . . . . . . . . . . . . .  9, 13, 73
  4299.  
  4300. +---+
  4301. | J |
  4302. +---+
  4303.  
  4304.     JAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  7, 70
  4305.         Allocation Strategies . . . . . . . . . . . . . . . . . . . . 34
  4306.         Application Interface . . . . . . . . . . . . . . . . . . . . 87
  4307.         Archive . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
  4308.             Structure . . . . . . . . . . . . . . . . . . . . . . . . 80
  4309.         Basic Concepts  . . . . . . . . . . . . . . . . . . . . . . .  9
  4310.         Boot Sector layout  . . . . . . . . . . . . . . . . . . . . . 80
  4311.         Cache System  . . . . . . . . . . . . . . . . . . . . . . . . 28
  4312.         Descriptor Table  . . . . . . . . . . . . . . . . . . . . 59, 76
  4313.         Distribution  . . . . . . . . . . . . . . . . . . . . . . . . 12
  4314.         Drive . . . . . . . . . . . . . . . . . . . . . . . .  9, 31, 73
  4315.             Access Mode . . . . . . . . . . . . . . . . . . . . . . . 32
  4316.             Map . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
  4317.             Optimization  . . . . . . . . . . . . . . . . . . . . 19, 63
  4318.             ReCompression . . . . . . . . . . . . . . . . . . . . 19, 63
  4319.             Statistics and Utilization  . . . . . . . . . . . . . . . 18
  4320.             Structure . . . . . . . . . . . . . . . . . . . . . . . . 79
  4321.             Viewing Contents  . . . . . . . . . . . . . . . . . . . . 16
  4322.         Features  . . . . . . . . . . . . . . . . . . . . . . . . . .  7
  4323.         File  . . . . . . . . . . . . . . . . . . . . . . . . . .  9, 73
  4324.             Attributes  . . . . . . . . . . . . . . . . . . . . . . . 23
  4325.         Logical Drive . . . . . . . . . . . . . . . . . . . . . . . . 73
  4326.         Memory Requirements . . . . . . . . . . . . . . . . . . . . . 28
  4327.         Device Driver . . . . . . . . . . . . . . . . . . . . . . 27, 84
  4328.                 Error Messages  . . . . . . . . . . . . . . . . . . . 30
  4329.                 Examples  . . . . . . . . . . . . . . . . . . . . . . 30
  4330.                 Notes . . . . . . . . . . . . . . . . . . . . . . . . 28
  4331.                 Parameters  . . . . . . . . . . . . . . . . . . . . . 27
  4332.                 Syntax  . . . . . . . . . . . . . . . . . . . . . . . 27
  4333.     JCHKDSK utility . . . . . . . . . . . . . . . . . . . . . . . 18, 50
  4334.             Error Messages  . . . . . . . . . . . . . . . . . . . . . 54
  4335.             Examples  . . . . . . . . . . . . . . . . . . . . . . . . 54
  4336.             Notes . . . . . . . . . . . . . . . . . . . . . . . . . . 51
  4337.  
  4338. JAM 1.10  User's Guide                                           Page 94
  4339. ------------------------------------------------------------------------
  4340.  
  4341.             Parameters  . . . . . . . . . . . . . . . . . . . . . . . 50
  4342.             Status report . . . . . . . . . . . . . . . . . . . . . . 52
  4343.             Switches  . . . . . . . . . . . . . . . . . . . . . . . . 50
  4344.             Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . 50
  4345.     JCREATE utility . . . . . . . . . . . . . . . . . . . . . . . 13, 21
  4346.             Error Messages  . . . . . . . . . . . . . . . . . . . . . 25
  4347.             Examples  . . . . . . . . . . . . . . . . . . . . . . . . 24
  4348.             Notes . . . . . . . . . . . . . . . . . . . . . . . . . . 23
  4349.             Parameters  . . . . . . . . . . . . . . . . . . . . . . . 21
  4350.             Switches  . . . . . . . . . . . . . . . . . . . . . . . . 22
  4351.             Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . 21
  4352.     JDIR utility  . . . . . . . . . . . . . . . . . . . . . . . . 16, 40
  4353.             Error Messages  . . . . . . . . . . . . . . . . . . . . . 47
  4354.             Examples  . . . . . . . . . . . . . . . . . . . . . . . . 45
  4355.             Notes . . . . . . . . . . . . . . . . . . . . . . . . . . 44
  4356.             Parameters  . . . . . . . . . . . . . . . . . . . . . . . 40
  4357.             Switches  . . . . . . . . . . . . . . . . . . . . . . . . 41
  4358.             Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . 40
  4359.     JDT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
  4360.         [Allocated] flag  . . . . . . . . . . . . . . . . . . . . 60, 81
  4361.         [Deleted] flag  . . . . . . . . . . . . . . . . . . . . . 59, 81
  4362.         [Directory] flag  . . . . . . . . . . . . . . . . . . . . 59, 82
  4363.         Parameters  . . . . . . . . . . . . . . . . . . . . . . . . . 81
  4364.     JMAX utility  . . . . . . . . . . . . . . . . . . . . . . 19, 63, 68
  4365.             Error Messages  . . . . . . . . . . . . . . . . . . . . . 64
  4366.             Examples  . . . . . . . . . . . . . . . . . . . . . . . . 64
  4367.             Notes . . . . . . . . . . . . . . . . . . . . . . . . . . 64
  4368.             Parameters  . . . . . . . . . . . . . . . . . . . . . . . 63
  4369.             Switches  . . . . . . . . . . . . . . . . . . . . . . . . 63
  4370.             Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . 63
  4371.     JMOUNT utility  . . . . . . . . . . . . . . . . . . . . . 20, 28, 31
  4372.             Error Messages  . . . . . . . . . . . . . . . . . . . . . 35
  4373.             Examples  . . . . . . . . . . . . . . . . . . . . . . . . 34
  4374.             Notes . . . . . . . . . . . . . . . . . . . . . . . . . . 33
  4375.             Parameters  . . . . . . . . . . . . . . . . . . . . . . . 31
  4376.             Switches  . . . . . . . . . . . . . . . . . . . . . . . . 32
  4377.             Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . 31
  4378.  
  4379. +---+
  4380. | L |
  4381. +---+
  4382.  
  4383.     Logical Capacity  . . . . . . . . . . . . . . . . . . . . . . . .  9
  4384.         Free Space  . . . . . . . . . . . . . . . . . . . . . . . 18, 52
  4385.     Lost Chains . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
  4386.         Clusters  . . . . . . . . . . . . . . . . . . . . . . . . . . 61
  4387.     Low-level disk utilities  . . . . . . . . . . . . . . . . . . . . 33
  4388.  
  4389. +---+
  4390. | M |
  4391. +---+
  4392.  
  4393.     Media Descriptor  . . . . . . . . . . . . . . . . . . . . . . . . 56
  4394.     Memory Requirements . . . . . . . . . . . . . . . . . . . . . 28, 72
  4395.  
  4396. JAM 1.10  User's Guide                                           Page 95
  4397. ------------------------------------------------------------------------
  4398.  
  4399.     Mounting JAM drives Read-Only . . . . . . . . . . . . . . . . . . 33
  4400.     Multitasking environments . . . . . . . . . . . . . . . . . . 54, 65
  4401.  
  4402. +---+
  4403. | O |
  4404. +---+
  4405.  
  4406.     Open Files  . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
  4407.     Optimizing JAM Drives . . . . . . . . . . . . . . . . . . . . 19, 63
  4408.     Overview  . . . . . . . . . . . . . . . . . . . . . . . . . . . .  4
  4409.  
  4410. +---+
  4411. | P |
  4412. +---+
  4413.  
  4414.     PS/1, PS/2  . . . . . . . . . . . . . . . . . . . . . . . . . . .  8
  4415.     Physical Capacity . . . . . . . . . . . . . . . . . . . . . . . .  9
  4416.         Disk Errors . . . . . . . . . . . . . . . . . . . . . 53, 55, 66
  4417.         Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
  4418.         Free Space  . . . . . . . . . . . . . . . . . . . . . . . 18, 52
  4419.     Projected Capacity  . . . . . . . . . . . . . . . . . . . . . . .  9
  4420.         Free Space  . . . . . . . . . . . . . . . . . . . . . 10, 18, 52
  4421.  
  4422. +---+
  4423. | R |
  4424. +---+
  4425.  
  4426.     RAM Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
  4427.     ReCompressing JAM Drives  . . . . . . . . . . . . . . . . . . 19, 63
  4428.     Read-Only Access Mode . . . . . . . . . . . . . . . . . . . . . . 33
  4429.     Root Directory  . . . . . . . . . . . . . . . . . . . . . . . 62, 77
  4430.  
  4431. +---+
  4432. | S |
  4433. +---+
  4434.  
  4435.     Sector  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
  4436.     Seldomly used files . . . . . . . . . . . . . . . . . . . . . . . 69
  4437.     Slack space . . . . . . . . . . . . . . . . . . . . . . . . . 17, 77
  4438.     Sort Order  . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
  4439.     Sub-directory . . . . . . . . . . . . . . . . . . . . . . . . . . 77
  4440.     System Requirements . . . . . . . . . . . . . . . . . . . . .  8, 11
  4441.  
  4442. +---+
  4443. | U |
  4444. +---+
  4445.  
  4446.     UnDelete - compatible allocation strategy . . . . . . . . . . . . 34
  4447.         Operation Support . . . . . . . . . . . . . . . . . . . . . . 20
  4448.         Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . 20
  4449.  
  4450.  
  4451. JAM 1.10  User's Guide                                           Page 96
  4452. ------------------------------------------------------------------------
  4453.  
  4454. +---+
  4455. | V |
  4456. +---+
  4457.  
  4458.     Viewing the contents of JAM Drives  . . . . . . . . . . . . . . . 16
  4459.  
  4460. +---+
  4461. | W |
  4462. +---+
  4463.  
  4464.     Write Behind Caching  . . . . . . . . . . . . . . . . . . . . . . 33
  4465.  
  4466.  
  4467.  
  4468.  
  4469. JAM 1.10  User's Guide                                           Page 97
  4470. ------------------------------------------------------------------------
  4471.  
  4472.  
  4473.  
  4474.  
  4475.  
  4476.  
  4477.                             T H E    E N D
  4478.  
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.